PDA

View Full Version : Modified Icon Legend Issue


Charlie98902
06-02-2008, 04:23 PM
Here is the issue. If I use IE or firefox I get a pop up box when I click log out. The pop up box say undefined. If I click ok it will log you out still but I need to figure out what is wrong, any ideals?

<!-- icons and login code -->
<br />
<br />
<table align="center" class="tborder" width="640" cellpadding="4" cellspacing="0" border="0">
<tr>
<td class="alt1" align="center"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
&nbsp;
<if condition="!$show['guest']">
<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
<!-- end member logout -->
</if>
</strong></div></td>
</tr>
<tr>
<td class="alt2"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /> <span class="smallfont">$vbphrase[forum_contains_new_posts]</span> &nbsp;
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /> <span class="smallfont">$vbphrase[forum_contains_no_new_posts]</span> &nbsp;
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /> <span class="smallfont">$vbphrase[forum_is_closed_for_posting]</span>
</tr></table>
<br />
<!-- / icons and login code -->

$footer
</body>
</html>
</script>

A small code change was needed this is resolved now.

Princeton
06-04-2008, 11:59 AM
thanks for the update :up:

for anyone interested..
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>