From: g-nome at kuriak dot org
Operating system:
PHP version: 5.1.1
PHP Bug Type: Unknown/Other Function
Bug description: Smarty literal tag
Description:
------------
on version 5.0.5 running is ok
on version 5.1.1 Smarty generate error
: [in channels_m_form_user.tpl line 8]: syntax error: unrecognized tag
'literal' (Smarty_Compiler.class.php, line 580)Smarty error: [in
channels_m_form_user.tpl line 8]: syntax error: unrecognized tag 'literal'
(Smarty_Compiler.class.php, line 580)
type: User Error, code 256
Reproduce code:
---------------
HTML code:
{literal}
<script language="javascript">
<!--
{/literal}
linkChangeLang='{$p_add_changelang}';
strCurentTag='';
{literal}
function attachImage()
{
strCurentTag='logoTag';
document.formImage.submit();
}
// -->
</script>
{/literal}
--
Edit bug report at http://bugs.php.net/?id=35519&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=35519&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=35519&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=35519&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35519&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=35519&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35519&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35519&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35519&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35519&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35519&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=35519&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=35519&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35519&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35519&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35519&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35519&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35519&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35519&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35519&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35519&r=mysqlcfg