Quote:
Originally Posted by csavern
There is a small problem i see
when i click on log out the log out box just says undefined
should say are you sure you want to log out
only says it on this style
i am sure it is something easy
i am just not sure what it is
and maybe it is just my board since i changed up the navbar but i would think it is in the forum home
any one else have this trouble ?
and does any one else maybe know what i need to change
|
Right i checked why, its a error in your template since you customized it you prolly copy pastd from old version.. your currently navbar template logout is defined like this.
Code:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img border="0" src="http://www.rotormadness.com/art/logout.png" width="81" height="9"></a></td>
the correct version of default template is
Code:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
As you see you need to add the vbphrase inside log_out() function.