php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35519 Smarty literal tag
Submitted: 2005-12-02 12:10 UTC Modified: 2005-12-02 12:14 UTC
From: g-nome at kuriak dot org Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: g-nome at kuriak dot org
New email:
PHP Version: OS:

 

 [2005-12-02 12:10 UTC] g-nome at kuriak dot org
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}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-02 12:14 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 20:01:32 2024 UTC