Code Duplication    Length = 3-10 lines in 4 locations

Themes/default/ManageSmileys.template.php 1 location

@@ 369-371 (lines=3) @@
366
			echo '
367
				<br>';
368
		}
369
		if (!empty($context['move_smiley']))
370
			echo '
371
				<a href="', $scripturl, '?action=admin;area=smileys;sa=setorder;location=', $location['id'], ';source=', $context['move_smiley'], ';row=', $location['last_row'], ';reorder=1;', $context['session_var'], '=', $context['session_id'], '"><span class="generic_icons select_below" title="', $txt['smileys_move_here'], '"></span></a>';
372
		echo '
373
			</div>
374
		<input type="hidden" name="reorder" value="1">

Themes/default/Recent.template.php 2 locations

@@ 89-94 (lines=6) @@
86
	echo '
87
	<div id="recent" class="main_content">';
88
89
	if ($context['showCheckboxes'])
90
		echo '
91
		<form action="', $scripturl, '?action=quickmod" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;">
92
			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
93
			<input type="hidden" name="qaction" value="markread">
94
			<input type="hidden" name="redirect_url" value="action=unread', (!empty($context['showing_all_topics']) ? ';all' : ''), $context['querystring_board_limits'], '">';
95
96
	if (!empty($context['topics']))
97
	{
@@ 230-235 (lines=6) @@
227
	echo '
228
	<div id="recent">';
229
230
	if ($context['showCheckboxes'])
231
		echo '
232
		<form action="', $scripturl, '?action=quickmod" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;">
233
			<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
234
			<input type="hidden" name="qaction" value="markread">
235
			<input type="hidden" name="redirect_url" value="action=unreadreplies', (!empty($context['showing_all_topics']) ? ';all' : ''), $context['querystring_board_limits'], '">';
236
237
	if (!empty($context['topics']))
238
	{

Themes/default/Calendar.template.php 1 location

@@ 498-507 (lines=10) @@
495
									<br class="clear">';
496
								}
497
							}
498
							else
499
							{
500
								if (!empty($context['can_post']))
501
								{
502
									echo '
503
										<div class="week_add_event">
504
											<a href="', $scripturl, '?action=calendar;sa=post;month=', $month_data['current_month'], ';year=', $month_data['current_year'], ';day=', $day['day'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['calendar_post_event'], '</a>
505
										</div>';
506
								}
507
							}
508
							echo '</td>
509
							<td class="', implode(' ', $classes), !empty($day['holidays']) ? ' holidays' : ' disabled', ' holiday_col" data-css-prefix="' . $txt['calendar_prompt'] . ' ">';
510
							// Show any holidays!