layout.guest.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 http-equiv="X-UA-Compatible" content="IE=edge">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  14. <?php if ($theme->getiTunesAppId() !== '') { ?>
  15. <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
  16. <?php } ?>
  17. <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
  18. <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
  19. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  20. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
  21. <link rel="manifest" href="<?php print_unescaped(image_path('', 'manifest.json')); ?>">
  22. <?php emit_css_loading_tags($_); ?>
  23. <?php emit_script_loading_tags($_); ?>
  24. <?php print_unescaped($_['headers']); ?>
  25. </head>
  26. <body id="<?php p($_['bodyid']);?>">
  27. <?php include 'layout.noscript.warning.php'; ?>
  28. <div class="wrapper">
  29. <div class="v-align">
  30. <?php if ($_['bodyid'] === 'body-login' ): ?>
  31. <header role="banner">
  32. <div id="header">
  33. <div class="logo">
  34. <h1 class="hidden-visually">
  35. <?php p($theme->getName()); ?>
  36. </h1>
  37. <?php if(\OC::$server->getConfig()->getSystemValue('installed', false)
  38. && \OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
  39. <img src="<?php p($theme->getLogo()); ?>"/>
  40. <?php endif; ?>
  41. </div>
  42. </div>
  43. </header>
  44. <?php endif; ?>
  45. <main>
  46. <?php print_unescaped($_['content']); ?>
  47. </main>
  48. </div>
  49. </div>
  50. <footer role="contentinfo">
  51. <p class="info">
  52. <?php print_unescaped($theme->getLongFooter()); ?>
  53. </p>
  54. </footer>
  55. </body>
  56. </html>