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.

layout.guest.php 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" >
  3. <head
  4. <?php if ($_['user_uid']) { ?>
  5. data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>"
  6. <?php } ?>
  7. data-requesttoken="<?php p($_['requesttoken']); ?>">
  8. <meta charset="utf-8">
  9. <title>
  10. <?php p($theme->getTitle()); ?>
  11. </title>
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  13. <?php if ($theme->getiTunesAppId() !== '') { ?>
  14. <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
  15. <?php } ?>
  16. <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
  17. <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
  18. <link rel="apple-touch-icon" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  19. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
  20. <link rel="manifest" href="<?php print_unescaped(image_path('', 'manifest.json')); ?>">
  21. <?php emit_css_loading_tags($_); ?>
  22. <?php emit_script_loading_tags($_); ?>
  23. <?php print_unescaped($_['headers']); ?>
  24. </head>
  25. <body id="<?php p($_['bodyid']);?>">
  26. <?php include 'layout.noscript.warning.php'; ?>
  27. <?php foreach ($_['initialStates'] as $app => $initialState) { ?>
  28. <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
  29. <?php }?>
  30. <div class="wrapper">
  31. <div class="v-align">
  32. <?php if ($_['bodyid'] === 'body-login'): ?>
  33. <header role="banner">
  34. <div id="header">
  35. <div class="logo">
  36. <h1 class="hidden-visually">
  37. <?php p($theme->getName()); ?>
  38. </h1>
  39. <?php if (\OC::$server->getConfig()->getSystemValue('installed', false)
  40. && \OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
  41. <img src="<?php p($theme->getLogo()); ?>"/>
  42. <?php endif; ?>
  43. </div>
  44. </div>
  45. </header>
  46. <?php endif; ?>
  47. <main>
  48. <?php print_unescaped($_['content']); ?>
  49. </main>
  50. </div>
  51. </div>
  52. <footer role="contentinfo">
  53. <p class="info">
  54. <?php print_unescaped($theme->getLongFooter()); ?>
  55. </p>
  56. </footer>
  57. </body>
  58. </html>