mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-04 06:11:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="iso-8859-1"?>
							 | 
						|||
| 
								 | 
							
								<!-- $Revision$ -->
							 | 
						|||
| 
								 | 
							
								   <sect1 id="language.syntax.comments">
							 | 
						|||
| 
								 | 
							
								    <title>Commentaires</title>
							 | 
						|||
| 
								 | 
							
								    <para>
							 | 
						|||
| 
								 | 
							
								     Les commentaires dans Smarty sont entour<75>s d'asterisques, de cette
							 | 
						|||
| 
								 | 
							
								     fa<66>on : {* voici un commentaire *}
							 | 
						|||
| 
								 | 
							
								     Les commentaires Smarty ne sont pas affich<63>s dans la sortie finale du
							 | 
						|||
| 
								 | 
							
								     template.
							 | 
						|||
| 
								 | 
							
								     Ils sont utilis<69>s pour des notes internes, dans le template, pour aider
							 | 
						|||
| 
								 | 
							
								     les d<>veloppeurs <20> en comprendre le fonctionnement.
							 | 
						|||
| 
								 | 
							
								    </para>
							 | 
						|||
| 
								 | 
							
								    <example>
							 | 
						|||
| 
								 | 
							
								     <title>Commentaires</title>
							 | 
						|||
| 
								 | 
							
								     <programlisting>
							 | 
						|||
| 
								 | 
							
								{* Smarty *}
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								{* Inclusion de l'en t<>te *}
							 | 
						|||
| 
								 | 
							
								{include file="header.tpl"}
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								{include file=$includeFile}
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								{include file=#includeFile#}
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								{* affiche des listes d<>roulantes *}
							 | 
						|||
| 
								 | 
							
								<SELECT name=company>
							 | 
						|||
| 
								 | 
							
								{html_options values=$vals selected=$selected output=$output}
							 | 
						|||
| 
								 | 
							
								</SELECT></programlisting>
							 | 
						|||
| 
								 | 
							
								    </example>
							 | 
						|||
| 
								 | 
							
								</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
							 | 
						|||
| 
								 | 
							
								-->
							 |