Code Duplication    Length = 3-3 lines in 2 locations

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'])

Themes/default/Profile.template.php 1 location

@@ 522-524 (lines=3) @@
519
					<li><a href="', $scripturl, '?action=post;topic=', $post['topic'], '.', $post['start'], '"><span class="generic_icons reply_button"></span>', $txt['reply'], '</a></li>';
520
521
			// If they *can* quote?
522
			if ($post['can_quote'])
523
				echo '
524
					<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>';
525
526
			// How about... even... remove it entirely?!
527
			if ($post['can_delete'])