Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

$php_handling - Bug?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
ShadoX
Smarty n00b


Joined: 14 May 2010
Posts: 4

PostPosted: Wed Dec 21, 2011 1:54 pm    Post subject: $php_handling - Bug? Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Wed Dec 21, 2011 6:41 pm    Post subject: Reply with quote

$smarty->php_handling wirkt nur auf <?php tags und nicht auf <script language="php">.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP