@@ -19,10 +19,13 @@ |
||
19 | 19 | ?> |
20 | 20 | <?php if (isset($_['content'])): ?> |
21 | 21 | <?php print_unescaped($_['content']) ?> |
22 | -<?php else: ?> |
|
22 | +<?php else { |
|
23 | + : ?> |
|
23 | 24 | <div class="body-login-container update"> |
24 | 25 | <div class="icon-big icon-search"></div> |
25 | - <h2><?php p($l->t('Page not found')); ?></h2> |
|
26 | + <h2><?php p($l->t('Page not found')); |
|
27 | +} |
|
28 | +?></h2> |
|
26 | 29 | <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> |
27 | 30 | <p><a class="button primary" href="<?php p(\OCP\Server::get(\OCP\IURLGenerator::class)->linkTo('', 'index.php')) ?>"> |
28 | 31 | <?php p($l->t('Back to %s', [$theme->getName()])); ?> |
@@ -20,8 +20,11 @@ |
||
20 | 20 | <p class="hint"> |
21 | 21 | <?php if (isset($_['message'])): ?> |
22 | 22 | <?php p($_['message']); ?> |
23 | - <?php else: ?> |
|
24 | - <?php p($l->t('You are not allowed to access this page.')); ?> |
|
23 | + <?php else { |
|
24 | + : ?> |
|
25 | + <?php p($l->t('You are not allowed to access this page.')); |
|
26 | +} |
|
27 | +?> |
|
25 | 28 | <?php endif; ?> |
26 | 29 | </p> |
27 | 30 | <p><a class="button primary" href="<?php p(\OCP\Server::get(\OCP\IURLGenerator::class)->linkTo('', 'index.php')) ?>"> |