Topic: navmenu
I want to add this to the function generate_navlinks:
$links[] = '<li id="navadmin"><a href="admin_index.php">'.$lang_common['Admin'].'</a>';
if ($pun_config['o_chatbox'] == '1')
$links[] = '<li id="navchat"><a href="#" onClick="toggleChat('modchat');">'.$lang_common['Chat'].'</a>';
But it returns an error message:
Parse error: parse error, unexpected T_STRING in <mysite>/forum/include/functions.php on line 304
I think this is because of the 'modchat' thing. What can I do against that?