Hi guys,
trying to install on my 3.6.9
When I try to add the first code:
Code:
================================
Template: navbar
================================
FIND:
--------------------------------
<if condition="$show['pmwarning']"><br /><strong><phrase
1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$show['navbar_credits']">
<br />$vbphrase[credits]</a>: <strong><span
id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a
href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if
condition="$show['credits_purchase']"> [<a
href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if>
</if>
Get a syntax error:
Code:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/adobesw/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 35
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Any idea why?
Regards
Stefano