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.0KB

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