@@ 63-67 (lines=5) @@ | ||
60 | } |
|
61 | $tpl->assign('image_url', XOOPS_URL . $xoopsModuleConfig['logorss']); |
|
62 | $dimention = getimagesize(XOOPS_ROOT_PATH . $xoopsModuleConfig['logorss']); |
|
63 | if (empty($dimention[0])) { |
|
64 | $width = 88; |
|
65 | } else { |
|
66 | $width = ($dimention[0] > 144) ? 144 : $dimention[0]; |
|
67 | } |
|
68 | if (empty($dimention[1])) { |
|
69 | $height = 31; |
|
70 | } else { |
|
@@ 68-72 (lines=5) @@ | ||
65 | } else { |
|
66 | $width = ($dimention[0] > 144) ? 144 : $dimention[0]; |
|
67 | } |
|
68 | if (empty($dimention[1])) { |
|
69 | $height = 31; |
|
70 | } else { |
|
71 | $height = ($dimention[1] > 400) ? 400 : $dimention[1]; |
|
72 | } |
|
73 | $tpl->assign('image_width', $width); |
|
74 | $tpl->assign('image_height', $height); |
|
75 | foreach (array_keys($downloads_arr) as $i) { |