Completed
Pull Request — master (#9762)
by Julius
51:52 queued 33:04
created
settings/templates/settings/admin/overview.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
 ?>
28 28
 
29 29
 <div id="security-warning" class="section">
30
-	<h2><?php p($l->t('Security & setup warnings'));?></h2>
31
-	<p class="settings-hint"><?php p($l->t('It\'s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Tricks section and the documentation for more information.'));?></p>
30
+	<h2><?php p($l->t('Security & setup warnings')); ?></h2>
31
+	<p class="settings-hint"><?php p($l->t('It\'s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Tricks section and the documentation for more information.')); ?></p>
32 32
 	<ul>
33 33
 		<?php
34 34
 		// is php setup properly to query system environment variables like getenv('PATH')
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 				<?php p($l->t('It was not possible to execute the cron job via CLI. The following technical errors have appeared:')); ?>
131 131
 				<br>
132 132
 				<ol>
133
-					<?php foreach(json_decode($_['cronErrors']) as $error) { if(isset($error->error)) {?>
133
+					<?php foreach (json_decode($_['cronErrors']) as $error) { if (isset($error->error)) {?>
134 134
 						<li><?php p($error->error) ?> <?php p($error->hint) ?></li>
135 135
 					<?php }} ?>
136 136
 				</ol>
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
 				$formatter = \OC::$server->getDateTimeFormatter();
144 144
 				$absolute_time = $formatter->formatDateTime($_['lastcron'], 'long', 'long');
145 145
 				if (time() - $_['lastcron'] > 3600): ?>
146
-					<li class="crondate" title="<?php p($absolute_time);?>">
147
-						<?php p($l->t("Last background job execution ran %s. Something seems wrong.", [$relative_time]));?>
146
+					<li class="crondate" title="<?php p($absolute_time); ?>">
147
+						<?php p($l->t("Last background job execution ran %s. Something seems wrong.", [$relative_time])); ?>
148 148
 						<a href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'server'])); ?>#backgroundjobs"><?php p($l->t('Check the background job settings')); ?></a>
149 149
 					</li>
150 150
 				<?php endif; ?>
@@ -152,28 +152,28 @@  discard block
 block discarded – undo
152 152
 	</ul>
153 153
 
154 154
 	<div id="security-warning-state-ok" class="hidden">
155
-		<span class="icon icon-checkmark-white"></span><span class="message"><?php p($l->t('All checks passed.'));?></span>
155
+		<span class="icon icon-checkmark-white"></span><span class="message"><?php p($l->t('All checks passed.')); ?></span>
156 156
 	</div>
157 157
 	<div id="security-warning-state-failure" class="hidden">
158
-		<span class="icon icon-close-white"></span><span class="message"><?php p($l->t('Some checks have failed.'));?></span>
158
+		<span class="icon icon-close-white"></span><span class="message"><?php p($l->t('Some checks have failed.')); ?></span>
159 159
 	</div>
160 160
 	<div id="security-warning-state-loading">
161
-		<span class="icon loading"></span><span class="message"><?php p($l->t('Checking for system and security issues.'));?></span>
161
+		<span class="icon loading"></span><span class="message"><?php p($l->t('Checking for system and security issues.')); ?></span>
162 162
 	</div>
163 163
 
164
-	<div id="postsetupchecks" data-check-wellknown="<?php if($_['checkForWorkingWellKnownSetup']) { p('true'); } else { p('false'); } ?>">
164
+	<div id="postsetupchecks" data-check-wellknown="<?php if ($_['checkForWorkingWellKnownSetup']) { p('true'); } else { p('false'); } ?>">
165 165
 		<ul class="errors hidden"></ul>
166 166
 		<ul class="warnings hidden"></ul>
167 167
 		<ul class="info hidden"></ul>
168 168
 	</div>
169 169
 	<p id="postsetupchecks-hint" class="hidden">
170
-		<?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])] )); ?>
170
+		<?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])])); ?>
171 171
 	</p>
172 172
 
173 173
 </div>
174 174
 
175 175
 <div class="section">
176 176
 	<!-- should be the last part, so Updater can follow if enabled (it has no heading therefore). -->
177
-	<h2><?php p($l->t('Version'));?></h2>
177
+	<h2><?php p($l->t('Version')); ?></h2>
178 178
 	<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>
179 179
 </div>
Please login to merge, or discard this patch.