Ok, I added the single quotes around it and that fixed it. Is that how we had to do it for all of those now when we have the AND in there? Or just for private? And are there any other things I should know about PHP 5 and the templates?
And thank you for sending me in the right direction. PHP 5 is not every forgiving it seems.
Code:
<if condition="THIS_SCRIPT != 'private' AND !$show['moderated'] AND $post['threadid']"><a href="printpost.php?$session[sessionurl]t=$post[threadid]&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" border="0" /></a></if>
--------------- Added [DATE]1207216062[/DATE] at [TIME]1207216062[/TIME] ---------------
Quote:
Originally Posted by Marco van Herwaarden
By testing against a string value.
|
How do we do that, sir?