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

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