Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
$php_handling - Bug?

 
Post new topic   Reply to topic    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: 4183
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:   
Post new topic   Reply to topic    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