layout.guest.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 foreach($_['cssfiles'] as $cssfile): ?>
  8. <link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
  9. <?php endforeach; ?>
  10. <script type="text/javascript">
  11. var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
  12. </script>
  13. <?php foreach($_['jsfiles'] as $jsfile): ?>
  14. <script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
  15. <?php endforeach; ?>
  16. <?php foreach($_['headers'] as $header): ?>
  17. <?php
  18. echo '<'.$header['tag'].' ';
  19. foreach($header['attributes'] as $name=>$value){
  20. echo "$name='$value' ";
  21. };
  22. echo '/>';
  23. ?>
  24. <?php endforeach; ?>
  25. </head>
  26. <body id="body-login">
  27. <div id="login">
  28. <header><div id="header">
  29. <img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" />
  30. </div></header>
  31. <?php echo $_['content']; ?>
  32. </div>
  33. <footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> &ndash; <?php echo $l->t( 'web services under your control' ); ?></p></footer>
  34. </body>
  35. </html>