mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-04 06:11:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			49 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			49 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="iso-8859-1"?>
							 | 
						|||
| 
								 | 
							
								<!-- $Revision$ -->
							 | 
						|||
| 
								 | 
							
								     <sect1 id="variable.php.handling">
							 | 
						|||
| 
								 | 
							
								      <title>$php_handling</title>
							 | 
						|||
| 
								 | 
							
								      <para>
							 | 
						|||
| 
								 | 
							
								       Questa variabile dice a Smarty come gestire il codice PHP
							 | 
						|||
| 
								 | 
							
								       incorporato nei template. Ci sono quattro possibili impostazioni:
							 | 
						|||
| 
								 | 
							
								       il default <20> SMARTY_PHP_PASSTHRU. Notate che questa variabile
							 | 
						|||
| 
								 | 
							
								       NON ha effetto sul codice php che si trova fra i tag <link
							 | 
						|||
| 
								 | 
							
								       linkend="language.function.php">{php}{/php}</link>.
							 | 
						|||
| 
								 | 
							
								      </para>
							 | 
						|||
| 
								 | 
							
								      <itemizedlist>
							 | 
						|||
| 
								 | 
							
								       <listitem><para>SMARTY_PHP_PASSTHRU - Smarty stampa il contenuto
							 | 
						|||
| 
								 | 
							
								         dei tag cos<6F> com'<27>.</para></listitem>
							 | 
						|||
| 
								 | 
							
								       <listitem><para>SMARTY_PHP_QUOTE - Smarty trasforma i tag in entit<69>
							 | 
						|||
| 
								 | 
							
								         html.</para></listitem>
							 | 
						|||
| 
								 | 
							
								       <listitem><para>SMARTY_PHP_REMOVE - Smarty rimuove i tag dal 
							 | 
						|||
| 
								 | 
							
								         template.</para></listitem>
							 | 
						|||
| 
								 | 
							
								       <listitem><para>SMARTY_PHP_ALLOW - Smarty esegue il codice PHP.</para></listitem>
							 | 
						|||
| 
								 | 
							
								      </itemizedlist>
							 | 
						|||
| 
								 | 
							
								      <note>
							 | 
						|||
| 
								 | 
							
								       <para>
							 | 
						|||
| 
								 | 
							
								        Incorporare codice PHP nei template <20> altamente sconsigliato. Usate
							 | 
						|||
| 
								 | 
							
								        invece le <link linkend="language.custom.functions">funzioni utente</link>
							 | 
						|||
| 
								 | 
							
								        o i <link linkend="language.modifiers">modificatori</link>.
							 | 
						|||
| 
								 | 
							
								       </para>
							 | 
						|||
| 
								 | 
							
								      </note>
							 | 
						|||
| 
								 | 
							
								</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
							 | 
						|||
| 
								 | 
							
								-->
							 |