@@ -10,15 +10,15 @@ discard block |
||
| 10 | 10 | <meta charset="utf-8"> |
| 11 | 11 | <title> |
| 12 | 12 | <?php |
| 13 | - p(!empty($_['pageTitle']) && (empty($_['application']) || $_['pageTitle'] !== $_['application']) ? $_['pageTitle'] . ' - ' : ''); |
|
| 13 | + p(!empty($_['pageTitle']) && (empty($_['application']) || $_['pageTitle'] !== $_['application']) ? $_['pageTitle'] . ' - ' : ''); |
|
| 14 | 14 | p(!empty($_['application']) ? $_['application'] . ' - ' : ''); |
| 15 | 15 | p($theme->getTitle()); |
| 16 | 16 | ?> |
| 17 | 17 | </title> |
| 18 | 18 | <meta name="csp-nonce" nonce="<?php p($_['cspNonce']); /* Do not pass into "content" to prevent exfiltration */ ?>"> |
| 19 | 19 | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0<?php if (isset($_['viewport_maximum_scale'])) { |
| 20 | - p(', maximum-scale=' . $_['viewport_maximum_scale']); |
|
| 21 | - } ?>"> |
|
| 20 | + p(', maximum-scale=' . $_['viewport_maximum_scale']); |
|
| 21 | + } ?>"> |
|
| 22 | 22 | <?php if ($theme->getiTunesAppId() !== '') { ?> |
| 23 | 23 | <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>"> |
| 24 | 24 | <?php } ?> |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | <?php print_unescaped($_['headers']); ?> |
| 38 | 38 | </head> |
| 39 | 39 | <body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) { |
| 40 | - p("data-theme-$themeId "); |
|
| 40 | + p("data-theme-$themeId "); |
|
| 41 | 41 | }?> data-themes="<?php p(join(',', $_['enabledThemes'])) ?>"> |
| 42 | 42 | <?php include('layout.noscript.warning.php'); ?> |
| 43 | 43 | <?php include('layout.initial-state.php'); ?> |
@@ -84,11 +84,11 @@ discard block |
||
| 84 | 84 | <div id="content" class="app-<?php p($_['appid']) ?>"> |
| 85 | 85 | <h1 class="hidden-visually"> |
| 86 | 86 | <?php |
| 87 | - if (isset($template) && $template->getHeaderTitle() !== '') { |
|
| 88 | - p($template->getHeaderTitle()); |
|
| 89 | - } else { |
|
| 90 | - p($theme->getName()); |
|
| 91 | - } ?> |
|
| 87 | + if (isset($template) && $template->getHeaderTitle() !== '') { |
|
| 88 | + p($template->getHeaderTitle()); |
|
| 89 | + } else { |
|
| 90 | + p($theme->getName()); |
|
| 91 | + } ?> |
|
| 92 | 92 | </h1> |
| 93 | 93 | <?php print_unescaped($_['content']); ?> |
| 94 | 94 | </div> |