layout.guest.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>ownCloud</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
  7. <?php if (!empty(OC_Util::$core_styles)): ?>
  8. <link rel="stylesheet" href="<?php echo OC_Helper::linkToRemote('core.css', false) ?>" type="text/css" media="screen" />
  9. <?php endif ?>
  10. <?php foreach($_['cssfiles'] as $cssfile): ?>
  11. <link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
  12. <?php endforeach; ?>
  13. <script type="text/javascript">
  14. var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
  15. var oc_appswebroots = <?php echo $_['apps_paths'] ?>;
  16. </script>
  17. <?php if (!empty(OC_Util::$core_scripts)): ?>
  18. <script type="text/javascript" src="<?php echo OC_Helper::linkToRemote('core.js', false) ?>"></script>
  19. <?php endif ?>
  20. <?php foreach($_['jsfiles'] as $jsfile): ?>
  21. <script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
  22. <?php endforeach; ?>
  23. <?php foreach($_['headers'] as $header): ?>
  24. <?php
  25. echo '<'.$header['tag'].' ';
  26. foreach($header['attributes'] as $name=>$value){
  27. echo "$name='$value' ";
  28. };
  29. echo '/>';
  30. ?>
  31. <?php endforeach; ?>
  32. </head>
  33. <body id="body-login">
  34. <div id="login">
  35. <header><div id="header">
  36. <img src="<?php echo image_path('', 'logo.png'); ?>" alt="ownCloud" />
  37. </div></header>
  38. <?php echo $_['content']; ?>
  39. </div>
  40. <footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> &ndash; <?php echo $l->t( 'web services under your control' ); ?></p></footer>
  41. </body>
  42. </html>