|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ShadoX Smarty n00b
Joined: 14 May 2010 Posts: 4
|
Posted: Wed Dec 21, 2011 1:54 pm Post subject: $php_handling - Bug? |
|
|
Hallo,
im der Doku (http://www.smarty.net/docs/en/variable.php.handling.tpl) steht, dass wenn man Code: | $this->php_handing = Smarty::PHP_REMOVE; | setzt, alle eingebetteten PHP Codes entfernent werden.
Codes, wie :
Code: | <?php echo "Hello World");?> |
werden auch entfernt, aber
Code: | <script language="php">echo "Hello World";</script> |
nicht. Liegt der Fehler bei mir?
Ich nutzte das Smarty SVN. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Dec 21, 2011 6:41 pm Post subject: |
|
|
$smarty->php_handling wirkt nur auf <?php tags und nicht auf <script language="php">. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|