I pasted the script between {literal} {/literal} tags into a proper web page and it works fine.
When I paste the code into a user defined tag I get a syntax error on the curly brace } line 1.
I tried the documentation sample:
Code: Select all
{literal}
<__script__ language="JavaScript" type="text/javascript">
// code here
</__script>
<style type="text/css">
/* css here */
</style>
{/literal}
# Parse error: syntax error, unexpected '}' in /home/www/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 1
Any ideas?
Thanks in advance!