Code Duplication    Length = 3-7 lines in 2 locations

Themes/default/Calendar.template.php 1 location

@@ 702-708 (lines=7) @@
699
							// Show any birthdays...
700
							if (!empty($day['birthdays']))
701
							{
702
								foreach ($day['birthdays'] as $member)
703
								{
704
									echo '
705
										<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['name'], '</a>
706
										', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '
707
									', $member['is_last'] ? '' : '<br>';
708
								}
709
							}
710
							echo '</td>
711
						</tr>';

SSI.php 1 location

@@ 1843-1845 (lines=3) @@
1840
	{
1841
		echo '
1842
			<span class="birthday">' . $txt['birthdays_upcoming'] . '</span> ';
1843
		foreach ($return['calendar_birthdays'] as $member)
1844
			echo '
1845
			<a href="', $scripturl, '?action=profile;u=', $member['id'], '"><span class="fix_rtl_names">', $member['name'], '</span>', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', !$member['is_last'] ? ', ' : '';
1846
		echo '
1847
			<br>';
1848
	}