layout.user.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]-->
  3. <!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]-->
  4. <!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]-->
  5. <!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]-->
  6. <!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
  7. <!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
  8. <head>
  9. <title><?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud
  10. <?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?></title>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  12. <meta name="apple-itunes-app" content="app-id=543672169">
  13. <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
  14. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
  15. <?php foreach($_['cssfiles'] as $cssfile): ?>
  16. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
  17. <?php endforeach; ?>
  18. <?php foreach($_['jsfiles'] as $jsfile): ?>
  19. <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
  20. <?php endforeach; ?>
  21. <?php foreach($_['headers'] as $header): ?>
  22. <?php
  23. print_unescaped('<'.$header['tag'].' ');
  24. foreach($header['attributes'] as $name=>$value) {
  25. print_unescaped("$name='$value' ");
  26. };
  27. print_unescaped('/>');
  28. ?>
  29. <?php endforeach; ?>
  30. </head>
  31. <body id="<?php p($_['bodyid']);?>">
  32. <div id="notification-container">
  33. <div id="notification"></div>
  34. </div>
  35. <header><div id="header">
  36. <a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
  37. src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
  38. <ul id="settings" class="svg">
  39. <span id="expand" tabindex="0" role="link">
  40. <span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
  41. <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
  42. </span>
  43. <div id="expanddiv">
  44. <?php foreach($_['settingsnavigation'] as $entry):?>
  45. <li>
  46. <a href="<?php print_unescaped($entry['href']); ?>" title=""
  47. <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
  48. <img class="svg" alt="" src="<?php print_unescaped($entry['icon']); ?>">
  49. <?php p($entry['name']) ?>
  50. </a>
  51. </li>
  52. <?php endforeach; ?>
  53. <li>
  54. <a id="logout" href="<?php print_unescaped(link_to('', 'index.php')); ?>?logout=true">
  55. <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>" />
  56. <?php p($l->t('Log out'));?>
  57. </a>
  58. </li>
  59. </div>
  60. </ul>
  61. <form class="searchbox" action="#" method="post">
  62. <input id="searchbox" class="svg" type="search" name="query"
  63. value="<?php if(isset($_POST['query'])) {p($_POST['query']);};?>"
  64. autocomplete="off" x-webkit-speech />
  65. </form>
  66. </div></header>
  67. <nav><div id="navigation">
  68. <ul id="apps" class="svg">
  69. <?php foreach($_['navigation'] as $entry): ?>
  70. <li data-id="<?php p($entry['id']); ?>">
  71. <a href="<?php print_unescaped($entry['href']); ?>" title=""
  72. <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
  73. <img class="icon svg" src="<?php print_unescaped($entry['icon']); ?>"/>
  74. <?php p($entry['name']); ?>
  75. </a>
  76. </li>
  77. <?php endforeach; ?>
  78. </ul>
  79. </div></nav>
  80. <div id="content-wrapper">
  81. <div id="content">
  82. <?php print_unescaped($_['content']); ?>
  83. </div>
  84. </div>
  85. </body>
  86. </html>