--- mandriva/index.cgi 2005-09-06 19:20:42.000000000 +0200 +++ mandriva/index.cgi.oden 2007-07-08 11:57:15.000000000 +0200 @@ -64,10 +64,13 @@ foreach $m (@modules) { next if ($m->{'category'} ne $in{'cat'}); + my $icon="$m->{'dir'}/images/icon.png"; + if (not -e "$theme_root_directory/$m->{'dir'}/images/icon.png") {$icon = "/$m->{'dir'}/images/icon.gif"; } + if ($pos % $cols == 0) { print "\n"; } print "\n"; print "
{'dir'}/>", - "{'dir'}/images/icon.png alt=\"\" border=0>", + "\"\"", "
\n"; print "{'dir'}/>$m->{'desc'}\n"; if ($pos++ % $cols == $cols - 1) { print "\n"; }