Code Duplication    Length = 5-5 lines in 2 locations

rss.php 2 locations

@@ 64-68 (lines=5) @@
61
	$tpl->assign('channel_language', _LANGCODE);
62
	$tpl->assign('image_url', XOOPS_URL.'/images/logo.gif');
63
	$dimention = getimagesize(XOOPS_ROOT_PATH.'/images/logo.gif');
64
	if (empty($dimention[0])) {
65
		$width = 88;
66
	} else {
67
		$width = ($dimention[0] > 144) ? 144 : $dimention[0];
68
	}
69
	if (empty($dimention[1])) {
70
		$height = 31;
71
	} else {
@@ 69-73 (lines=5) @@
66
	} else {
67
		$width = ($dimention[0] > 144) ? 144 : $dimention[0];
68
	}
69
	if (empty($dimention[1])) {
70
		$height = 31;
71
	} else {
72
		$height = ($dimention[1] > 400) ? 400 : $dimention[1];
73
	}
74
	$tpl->assign('image_width', $width);
75
	$tpl->assign('image_height', $height);
76
	$start = 0;