Vertical Menu Mod 0.9 This mod adds some template-tags to enable vertical menues like on my board http://www.philtalk.de shows login.gif from the gif directory if a guest looks at the page elsewhere you get board.gif. A senseful template code could be:
Forum
Login-Icon
Pyrrhon http://www.philtalk.de/ sources/Subs.pl $yyimages = $imagesdir; if($username eq 'Guest') { $yylogingif = "$imagesdir/login.gif";} else { $yylogingif = "$imagesdir/board.gif";} $yymenu2 = qq~~; if($username ne 'Guest') { $yymenu2 .= qq~~; } $yymenu2 .= qq~
$txt{'103'}$txt{'103'}
$txt{'143'}$txt{'143'}
$menutxt{'1'}$menutxt{'1'}
$txt{'119'}$txt{'119'}
$txt{'182'}$txt{'182'}
~; if($username eq 'Guest') { $yylogintxt = "$menutxt{'3'}";} else { $yylogintxt = "$menutxt{'2'}";} if($username eq 'Guest') { $yyreminderlink = qq~($menutxt{'4'})~;} else { $yyreminderlink = qq~ ~;} if($username eq 'Guest') { $yyregistertxt = qq~

$menutxt{'5'} $menutxt{'6'}~;} else { $yyregistertxt = "";} if($username eq 'Guest') { $yyloginform = qq~

$txt{'35'}
$txt{'36'}
~; } else { $yyloginform = "";} if($username ne 'Guest') { $yymenu3 = qq~~; if($settings[7] eq 'Administrator') { $yymenu3 .= qq~~; } $yymenu3 .= qq~~; if($enable_notification) { $yymenu3 .= qq~~;} $yymenu3 .= qq~
$txt{'142'}$txt{'142'}
$txt{'2'}$txt{'2'}
$txt{'467'}$txt{'467'}
$txt{'125'}$txt{'125'}
$txt{'108'}$txt{'108'}
~; } else { $yymenu3 = ""; }
english.lng 1; $menutxt{'1'} = "Recent Posts"; $menutxt{'2'} = "Management"; $menutxt{'3'} = "Login"; $menutxt{'4'} = "Forgot Password?"; $menutxt{'5'} = "Not registered?"; $menutxt{'6'} = "Do it now!"; Sources/LogInOut.pl ~; $yytitle = "$txt{'34'}"; ~; $yytitle = "$txt{'34'}";