Completed
Push — develop ( 8bfe36...85e039 )
by Greg
09:55
created
app/Functions/FunctionsPrintLists.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1080,7 +1080,7 @@  discard block
 block discarded – undo
1080 1080
 			"SELECT CONCAT(l_to, '@', l_file), COUNT(*) FROM `##sources` JOIN `##link` ON l_from = s_id AND l_file = s_file AND l_type = 'NOTE' GROUP BY l_to, l_file"
1081 1081
 		)->fetchAssoc();
1082 1082
 
1083
-		$html     = '';
1083
+		$html = '';
1084 1084
 		$html .= '<table ' . Datatables::noteTableAttributes() . '><thead><tr>';
1085 1085
 		$html .= '<th>' . I18N::translate('Title') . '</th>';
1086 1086
 		$html .= '<th>' . I18N::translate('Individuals') . '</th>';
@@ -1146,7 +1146,7 @@  discard block
 block discarded – undo
1146 1146
 		)->fetchAssoc();
1147 1147
 
1148 1148
 		$html = '';
1149
-		$html .= '<table ' . Datatables::repositoryTableAttributes() . '><thead><tr>';		$html .= '<th>' . I18N::translate('Repository name') . '</th>';
1149
+		$html .= '<table ' . Datatables::repositoryTableAttributes() . '><thead><tr>'; $html .= '<th>' . I18N::translate('Repository name') . '</th>';
1150 1150
 		$html .= '<th>' . I18N::translate('Sources') . '</th>';
1151 1151
 		$html .= '<th>' . I18N::translate('Last change') . '</th>';
1152 1152
 		$html .= '<th>' . I18N::translate('Delete') . '</th>';
@@ -1573,7 +1573,7 @@  discard block
 block discarded – undo
1573 1573
 					if ($endjd === $startjd) {
1574 1574
 						$html .= I18N::translate('No events exist for tomorrow.');
1575 1575
 					} else {
1576
-						$html .=  /* I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” */ I18N::plural('No events exist for the next %s day.', 'No events exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1));
1576
+						$html .= /* I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” */ I18N::plural('No events exist for the next %s day.', 'No events exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1));
1577 1577
 					}
1578 1578
 				} else {
1579 1579
 					if ($endjd === $startjd) {
Please login to merge, or discard this patch.
placelist.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,8 @@  discard block
 block discarded – undo
200 200
 			<div class="tab-pane fade show active" role="tabpanel" id="individuals">
201 201
 				<?php if (empty($myindilist)): ?>
202 202
 					<p><?= I18N::translate('No results found.') ?></p>
203
-				<?php else: ?>
203
+				<?php else {
204
+	: ?>
204 205
 					<?= FunctionsPrintLists::individualTable($myindilist) ?>
205 206
 				<?php endif ?>
206 207
 			</div>
@@ -216,6 +217,7 @@  discard block
 block discarded – undo
216 217
 		<?php
217 218
 	}
218 219
 	echo '<h4><a href="placelist.php?display=list">', I18N::translate('Show all places in a list'), '</a></h4>';
220
+}
219 221
 
220 222
 	if ($gm_module && $gm_module->getPreference('GM_PLACE_HIERARCHY')) {
221 223
 		$gm_module->mapScripts($numfound, $level, $parent, $linklevels, $place_names);
Please login to merge, or discard this patch.