You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.5 KiB

15 years ago
15 years ago
15 years ago
15 years ago
  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 global $WEBROOT; echo $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. echo $header['text'];
  24. echo '</'.$header['tag'].'>';
  25. ?>
  26. <?php endforeach; ?>
  27. </head>
  28. <body id="body-user">
  29. <div id="header">
  30. <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img src="<?php echo image_path('', 'owncloud-logo-small-white.png'); ?>" alt="ownCloud" /></a>
  31. <?php echo $_['searchbox']?>
  32. <ul id="metanav">
  33. <li><a href="<?php echo link_to('settings', 'index.php'); ?>" title="Settings"><img class='svg' src="<?php echo image_path('', 'actions/settings.svg'); ?>"></a></li>
  34. <li><a href="<?php echo link_to('', 'index.php'); ?>?logout=true" title="Log out"><img class='svg' src="<?php echo image_path('', 'actions/logout.svg'); ?>"></a></li>
  35. </ul>
  36. </div>
  37. <div id="main">
  38. <div id="content">
  39. <?php echo $_['content']; ?>
  40. </div>
  41. <div id="plugins">
  42. <ul>
  43. <?php foreach($_['navigation'] as $entry): ?>
  44. <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a>
  45. <?php if( sizeof( $entry["subnavigation"] )): ?>
  46. <ul>
  47. <?php foreach($entry["subnavigation"] as $subentry):?>
  48. <li class="subentry"><a style="background-image:url(<?php echo $subentry['icon']; ?>)" href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry['active'] ): ?>class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li>
  49. <?php endforeach; ?>
  50. </ul>
  51. <?php endif; ?>
  52. </li>
  53. <?php endforeach; ?>
  54. </ul>
  55. </div>
  56. </div>
  57. </body>
  58. </html>