mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 12:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="iso-8859-1"?>
 | |
| <!-- $Revision$ -->
 | |
| <!-- EN-Revision: 1.3 Maintainer: andreas Status: ready -->
 | |
|   <sect1 id="variable.php.handling">
 | |
|     <title>$php_handling</title>
 | |
|     <para>
 | |
|       Definiert wie Smarty mit PHP-Code innerhalb von Templates umgehen soll.
 | |
|       Es gibt 4 verschiedene Einstellungen. Die Voreinstellung ist
 | |
|       SMARTY_PHP_PASSTHRU verwendet. Achtung: '$php_handling' wirkt sich NICHT
 | |
|       auf PHP-Code aus, der zwischen <link linkend="language.function.php">{php}{/php}</link>
 | |
|       Tags steht.
 | |
|     </para>
 | |
|     <itemizedlist>
 | |
|       <listitem><para>SMARTY_PHP_PASSTHRU - Smarty gibt die Tags aus.</para></listitem>
 | |
|       <listitem><para>SMARTY_PHP_QUOTE - Smarty maskiert die Tags als HTML-Entities.</para></listitem>
 | |
|       <listitem><para>SMARTY_PHP_REMOVE - Smarty entfernt die Tags.</para></listitem>
 | |
|       <listitem><para>SMARTY_PHP_ALLOW - Smarty führt den Code als PHP-Code aus.</para></listitem>
 | |
|     </itemizedlist>
 | |
|     <para>
 | |
|       ACHTUNG: Es wird dringend davon abgeraten, PHP-Code in Templates einzubetten.
 | |
|       Bitte verwenden Sie stattdessen <link linkend="language.custom.functions">custom functions</link>
 | |
|       oder <link linkend="language.modifiers">Variablen-Modifikatoren</link>.
 | |
|     </para>
 | |
| </sect1>
 | |
| <!-- Keep this comment at the end of the file
 | |
| Local variables:
 | |
| mode: sgml
 | |
| sgml-omittag:t
 | |
| sgml-shorttag:t
 | |
| sgml-minimize-attributes:nil
 | |
| sgml-always-quote-attributes:t
 | |
| sgml-indent-step:1
 | |
| sgml-indent-data:t
 | |
| indent-tabs-mode:nil
 | |
| sgml-parent-document:nil
 | |
| sgml-default-dtd-file:"../../../../manual.ced"
 | |
| sgml-exposed-tags:nil
 | |
| sgml-local-catalogs:nil
 | |
| sgml-local-ecat-files:nil
 | |
| End:
 | |
| vim600: syn=xml fen fdm=syntax fdl=2 si
 | |
| vim: et tw=78 syn=sgml
 | |
| vi: ts=1 sw=1
 | |
| -->
 |