Code Duplication    Length = 3-3 lines in 2 locations

Themes/default/Packages.template.php 2 locations

@@ 1573-1575 (lines=3) @@
1570
				<tr class="windowbg">
1571
					<td width="30%"><strong>';
1572
1573
				if (!empty($dir['type']) && ($dir['type'] == 'dir' || $dir['type'] == 'dir_recursive'))
1574
					echo '
1575
						<span class="generic_icons folder"></span>';
1576
1577
				echo '
1578
						', $name, '
@@ 1687-1689 (lines=3) @@
1684
					<td class="smalltext" width="30%">' . str_repeat('&nbsp;', $level * 5), '
1685
					', (!empty($dir['type']) && $dir['type'] == 'dir_recursive') || !empty($dir['list_contents']) ? '<a id="link_' . $cur_ident . '" href="' . $scripturl . '?action=admin;area=packages;sa=perms;find=' . base64_encode($ident . '/' . $name) . ';back_look=' . $context['back_look_data'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '#fol_' . $cur_ident . '" onclick="return expandFolder(\'' . $cur_ident . '\', \'' . addcslashes($ident . '/' . $name, "'\\") . '\');">' : '';
1686
1687
			if (!empty($dir['type']) && ($dir['type'] == 'dir' || $dir['type'] == 'dir_recursive'))
1688
				echo '
1689
						<span class="generic_icons folder"></span>';
1690
1691
			echo '
1692
						', $name, '