Passed
Push — master ( f746d3...fdd81e )
by Morris
10:46
created
settings/templates/settings/admin/server.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 ?>
28 28
 
29 29
 <div class="section" id="backgroundjobs">
30
-	<h2 class="inlineblock"><?php p($l->t('Background jobs'));?></h2>
30
+	<h2 class="inlineblock"><?php p($l->t('Background jobs')); ?></h2>
31 31
 	<p class="cronlog inlineblock">
32 32
 		<?php if ($_['lastcron'] !== false):
33 33
 			$relative_time = relative_modified_date($_['lastcron']);
@@ -36,13 +36,13 @@  discard block
 block discarded – undo
36 36
 			$absolute_time = $formatter->formatDateTime($_['lastcron'], 'long', 'long');
37 37
 			if (time() - $_['lastcron'] <= 3600): ?>
38 38
 				<span class="status success"></span>
39
-				<span class="crondate" title="<?php p($absolute_time);?>">
40
-				<?php p($l->t("Last job ran %s.", [$relative_time]));?>
39
+				<span class="crondate" title="<?php p($absolute_time); ?>">
40
+				<?php p($l->t("Last job ran %s.", [$relative_time])); ?>
41 41
 			</span>
42 42
 			<?php else: ?>
43 43
 				<span class="status error"></span>
44
-				<span class="crondate" title="<?php p($absolute_time);?>">
45
-				<?php p($l->t("Last job execution ran %s. Something seems wrong.", [$relative_time]));?>
44
+				<span class="crondate" title="<?php p($absolute_time); ?>">
45
+				<?php p($l->t("Last job execution ran %s. Something seems wrong.", [$relative_time])); ?>
46 46
 			</span>
47 47
 			<?php endif;
48 48
 		else: ?>
@@ -51,13 +51,13 @@  discard block
 block discarded – undo
51 51
 		endif; ?>
52 52
 	</p>
53 53
 	<a target="_blank" rel="noreferrer noopener" class="icon-info"
54
-	   title="<?php p($l->t('Open documentation'));?>"
54
+	   title="<?php p($l->t('Open documentation')); ?>"
55 55
 	   href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>
56 56
 
57
-	<p class="settings-hint"><?php p($l->t('For optimal performance it\'s important to configure background jobs correctly. For bigger instances \'Cron\' is the recommended setting. Please see the documentation for more information.'));?></p>
57
+	<p class="settings-hint"><?php p($l->t('For optimal performance it\'s important to configure background jobs correctly. For bigger instances \'Cron\' is the recommended setting. Please see the documentation for more information.')); ?></p>
58 58
 	<form action="#">
59 59
 		<fieldset>
60
-			<legend class="hidden-visually"><?php p($l->t('Pick background job setting'));?></legend>
60
+			<legend class="hidden-visually"><?php p($l->t('Pick background job setting')); ?></legend>
61 61
 			<p>
62 62
 				<input type="radio" name="mode" value="ajax" class="radio"
63 63
 					   id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 				}?>>
85 85
 				<label for="backgroundjobs_cron">Cron</label><br/>
86 86
 				<em><?php p($l->t("Use system cron service to call the cron.php file every 15 minutes.")); ?>
87
-					<?php if($_['cli_based_cron_possible']) {
87
+					<?php if ($_['cli_based_cron_possible']) {
88 88
 						p($l->t('The cron.php needs to be executed by the system user "%s".', [$_['cli_based_cron_user']]));
89 89
 					} else {
90 90
 						print_unescaped(str_replace(
Please login to merge, or discard this patch.