Code Duplication    Length = 5-5 lines in 4 locations

Themes/default/ManageMaintenance.template.php 4 locations

@@ 21-25 (lines=5) @@
18
	global $context, $txt, $scripturl, $modSettings;
19
20
	// If maintenance has finished tell the user.
21
	if (!empty($context['maintenance_finished']))
22
		echo '
23
	<div class="infobox">
24
		', sprintf($txt['maintain_done'], $context['maintenance_finished']), '
25
	</div>';
26
27
	echo '
28
	<div id="manage_maintenance">
@@ 88-92 (lines=5) @@
85
	<div id="manage_maintenance">';
86
87
	// If maintenance has finished tell the user.
88
	if (!empty($context['maintenance_finished']))
89
		echo '
90
		<div class="infobox">
91
			', sprintf($txt['maintain_done'], $context['maintenance_finished']), '
92
		</div>';
93
94
	echo '
95
		<div class="cat_bar">
@@ 224-228 (lines=5) @@
221
	<div id="manage_maintenance">';
222
223
	// If maintenance has finished, tell the user.
224
	if (!empty($context['maintenance_finished']))
225
		echo '
226
		<div class="infobox">
227
			', sprintf($txt['maintain_done'], $context['maintenance_finished']), '
228
		</div>';
229
230
	echo '
231
		<div class="cat_bar">
@@ 336-340 (lines=5) @@
333
	global $scripturl, $txt, $context, $settings, $modSettings;
334
335
	// If maintenance has finished tell the user.
336
	if (!empty($context['maintenance_finished']))
337
		echo '
338
	<div class="infobox">
339
		', sprintf($txt['maintain_done'], $context['maintenance_finished']), '
340
	</div>';
341
342
	// Bit of javascript for showing which boards to prune in an otherwise hidden list.
343
	echo '