Passed
Push — master ( ff6610...e81fdf )
by Robin
14:53 queued 15s
created
core/templates/404.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,13 @@
 block discarded – undo
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()])); ?>
Please login to merge, or discard this patch.
apps/settings/templates/settings/admin/overview.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,10 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.