Code Duplication    Length = 3-3 lines in 2 locations

Themes/default/Profile.template.php 1 location

@@ 505-507 (lines=3) @@
502
						<li><a href="', $scripturl, '?action=post;topic=', $post['topic'], '.', $post['start'], '"><span class="generic_icons reply_button"></span>', $txt['reply'], '</a></li>';
503
504
			// If they *can* quote?
505
			if ($post['can_quote'])
506
				echo '
507
						<li><a href="', $scripturl . '?action=post;topic=', $post['topic'], '.', $post['start'], ';quote=', $post['id'], '"><span class="generic_icons quote"></span>', $txt['quote_action'], '</a></li>';
508
509
			// How about... even... remove it entirely?!
510
			if ($post['can_delete'])

Themes/default/Recent.template.php 1 location

@@ 56-58 (lines=3) @@
53
						<li><a href="', $scripturl, '?action=post;topic=', $post['topic'], '.', $post['start'], '"><span class="generic_icons reply_button"></span>', $txt['reply'], '</a></li>';
54
55
		// If they *can* quote?
56
		if ($post['can_quote'])
57
			echo '
58
						<li><a href="', $scripturl, '?action=post;topic=', $post['topic'], '.', $post['start'], ';quote=', $post['id'], '"><span class="generic_icons quote"></span>', $txt['quote_action'], '</a></li>';
59
60
		// How about... even... remove it entirely?!
61
		if ($post['can_delete'])