@@ -14,10 +14,13 @@ |
||
14 | 14 | ?> |
15 | 15 | <?php if (isset($_['content'])): ?> |
16 | 16 | <?php print_unescaped($_['content']) ?> |
17 | -<?php else: ?> |
|
17 | +<?php else { |
|
18 | + : ?> |
|
18 | 19 | <div class="body-login-container update"> |
19 | 20 | <div class="icon-big icon-search"></div> |
20 | - <h2><?php p($l->t('Page not found')); ?></h2> |
|
21 | + <h2><?php p($l->t('Page not found')); |
|
22 | +} |
|
23 | +?></h2> |
|
21 | 24 | <p class="infogroup"><?php p($l->t('The page could not be found on the server or you may not be allowed to view it.')); ?></p> |
22 | 25 | <p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"> |
23 | 26 | <?php p($l->t('Back to %s', [$theme->getName()])); ?> |
@@ -69,7 +69,10 @@ |
||
69 | 69 | <h2><?php p($l->t('Version'));?></h2> |
70 | 70 | <?php if ($theme->getTitle() === 'Nextcloud'): ?> |
71 | 71 | <p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank">Nextcloud Hub 5</a> (<?php p(OC_Util::getHumanVersion()) ?>)</strong></p> |
72 | - <?php else: ?> |
|
73 | - <p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p> |
|
72 | + <?php else { |
|
73 | + : ?> |
|
74 | + <p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); |
|
75 | +} |
|
76 | +?>" rel="noreferrer noopener" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p> |
|
74 | 77 | <?php endif; ?> |
75 | 78 | </div> |