Code Duplication    Length = 3-3 lines in 2 locations

Themes/default/Recent.template.php 1 location

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

Themes/default/Profile.template.php 1 location

@@ 537-539 (lines=3) @@
534
					<li><a href="', $scripturl, '?action=post;topic=', $post['topic'], '.', $post['start'], '"><span class="generic_icons reply_button"></span>', $txt['reply'], '</a></li>';
535
536
			// If they *can* quote?
537
			if ($post['can_quote'])
538
				echo '
539
					<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>';
540
541
			// How about... even... remove it entirely?!
542
			if ($post['can_delete'])