<if condition="THIS_SCRIPT != 'index'"> show Home link </if> <if condition="THIS_SCRIPT != 'forumdisplay'"> show Forums link </if> etc.