anarchystar
03-17-2006, 10:52 PM
I changed some of the graphics in my vb theme, now the if statement in my header will not work. Specifcally, the register button does not appear for unregistered visitors, they just see the quick links button. Any tips?
<if condition="$show['registerbutton']">
<td width="63" height="25" align="left" valign="top"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/ambience_nav_reg.gif" alt="" width="63" height="25" border="0" /></a></td>
<else />
<td width="63" height="25" align="left" valign="top" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/q_links.gif" alt="" width="63" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>
<if condition="$show['registerbutton']">
<td width="63" height="25" align="left" valign="top"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/ambience_nav_reg.gif" alt="" width="63" height="25" border="0" /></a></td>
<else />
<td width="63" height="25" align="left" valign="top" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/q_links.gif" alt="" width="63" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>