Quote:
Originally Posted by bashy
Hi Princeton
Could you help me out here please?
I am trying to add my rules link into the menu but i keep getting
Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bashy/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 181
Here is what i have done
Code:
<if condition="$show['popups']">
<td id="navbar_tools" class="vbmenu_control"><a href="rules.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[help]</a> <script type="text/javascript"> vbmenu_register("navbar_tools"); </script></td>
<else />
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
And
Code:
<!-- gt custom start -->
<div class="vbmenu_popup" id="navbar_tools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[need_help]</td>
<tr>
<td class="vbmenu_option" title="$vbphrase[rules]">
<a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a>
<tr>
<td class="vbmenu_option" title="$vbphrase[faq]">
<a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a>
<tr>
<td class="vbmenu_option" title="$vbphrase[gtcustom_sitemap_header]">
<a href="goto.php?section=sitemap$session[sessionurl_q]">$vbphrase[gtcustom_sitemap_header]</a>
<tr>
<td class="vbmenu_option" title="$vbphrase[gtcustom_privacy_header]">
<a href="goto.php?section=privacy$session[sessionurl_q]">$vbphrase[gtcustom_privacy_header]</a>
<tr>
<td class="vbmenu_option" title="$vbphrase[gtcustom_terms_header]">
<a href="goto.php?section=terms$session[sessionurl_q]">$vbphrase[gtcustom_terms_header]</a>
</td>
</tr>
</table>
</div>
<!-- gt custom end -->
Now where have i gone wrong please 
|
sorry ... I missed this one.
I don't see nothing wrong.
Upload your complete template (txt format) and I'll take a look.