Wichtige Themen = anderes Bild

Master-X
Huhu,

wie kann ich es realisieren, das "Wichtige Themen" ein anderes Bild bekommen.

Jetzt wird ja folder.gif und so genommen.

Nachtrag: Das neue Bild sollte dann important.gif oder .png heißen.
Ghostmaster
Suche in board.php
code:
1:
2:
3:
4:
5:
6:
		if ($threads['important'] == 2) $foldericon = 'announce';
		else $foldericon = ((isset($threads['userid']) && $threads['userid']) ? ('dot') : ('')).(($threads['lastposttime'] > $board['lastvisit'] && $threads

['lastposttime'] > $threads['lastvisit']) ? ('new') : ('')).(($threads['replycount'] >= $board['hotthread_reply'] || $threads['views'] >= $board['hotthread_view']) ? ('hot') 

: ('')).(($threads['closed'] != 0) ? ('lock') : ('')).'folder';


ersetze mit:

code:
1:
2:
3:
4:
5:
6:
7:
		if ($threads['important'] == 2) $foldericon = 'announce';
		elseif ($threads['important'] == 1) $foldericon = 'importent';
		else $foldericon = ((isset($threads['userid']) && $threads['userid']) ? ('dot') : ('')).(($threads['lastposttime'] > $board['lastvisit'] && $threads

['lastposttime'] > $threads['lastvisit']) ? ('new') : ('')).(($threads['replycount'] >= $board['hotthread_reply'] || $threads['views'] >= $board['hotthread_view']) ? ('hot') 

: ('')).(($threads['closed'] != 0) ? ('lock') : ('')).'folder';
Master-X
Danke Ehren