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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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->getMailHeaderColor()); ?>">
  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="#1d2d44">
  16. <?php foreach($_['cssfiles'] as $cssfile): ?>
  17. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
  18. <?php endforeach; ?>
  19. <?php foreach($_['printcssfiles'] as $cssfile): ?>
  20. <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
  21. <?php endforeach; ?>
  22. <?php if (isset($_['inline_ocjs'])): ?>
  23. <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" type="text/javascript">
  24. <?php print_unescaped($_['inline_ocjs']); ?>
  25. </script>
  26. <?php endif; ?>
  27. <?php foreach($_['jsfiles'] as $jsfile): ?>
  28. <script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php print_unescaped($jsfile); ?>"></script>
  29. <?php endforeach; ?>
  30. <?php print_unescaped($_['headers']); ?>
  31. </head>
  32. <body id="<?php p($_['bodyid']);?>">
  33. <?php include('layout.noscript.warning.php'); ?>
  34. <div class="wrapper">
  35. <div class="v-align">
  36. <?php if ($_['bodyid'] === 'body-login' ): ?>
  37. <header role="banner">
  38. <div id="header">
  39. <div class="logo">
  40. <h1 class="hidden-visually">
  41. <?php p($theme->getName()); ?>
  42. </h1>
  43. </div>
  44. <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
  45. </div>
  46. </header>
  47. <?php endif; ?>
  48. <?php print_unescaped($_['content']); ?>
  49. <div class="push"></div><!-- for sticky footer -->
  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>