Reply Icon on locked Topic
1.1
Changes the Reply icon to a locked Topic Icon if the Topic is locked!
Also removes the Notify-, Quote-, modify- and delete-Buttons in the posts
because if the Topic is locked the don't have any function.
V1.1: Fixed the second Reply-Button (at bottom)
thx to EvilElvis138
dOCda S!
http://gpu.hackers.sk/hacks/
Sources/Display.pl
if( $mstate == 1 ) { $threadclass = 'locked'; }
elsif( $mreplies > 24 ) { $threadclass = 'veryhotthread'; }
elsif( $mreplies > 14 ) { $threadclass = 'hotthread'; }
elsif( $mstate == 0 ) { $threadclass = 'thread'; }
if( $mstate == 1 ) { $threadclass = 'locked';
$replybutton = qq($img{'noreply'});
$deletebutton = qq();
$otherbuttons = qq(); }
elsif( $mreplies > 24 ) { $threadclass = 'veryhotthread'; }
elsif( $mreplies > 14 ) { $threadclass = 'hotthread'; }
elsif( $mstate == 0 ) { $threadclass = 'thread';
$replybutton = qq($img{'reply'});
$deletebutton = qq($menusep$img{'delete'});
$otherbuttons = qq($menusep$img{'replyquote'}$menusep$img{'modify'}); }
$notify = qq~$menusep$img{'notify'}~;
if( $mstate != 1 ) {$notify = qq~$menusep$img{'notify'}~;}
$menusep$img{'replyquote'}$menusep$img{'modify'}
$otherbuttons
$menusep$img{'delete'}
$deletebutton
$img{'reply'}$notify$menusep$img{'sendtopic'}$menusep$img{'print'}
$replybutton$notify$menusep$img{'sendtopic'}$menusep$img{'print'}
$img{'reply'}$notify$menusep$img{'sendtopic'}$menusep$img{'print'}
$replybutton$notify$menusep$img{'sendtopic'}$menusep$img{'print'}
english.lng
$img{'reply'} = qq~
~;
$img{'noreply'} = qq~
~;