[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/eztemplate/ -> output.tpl (source)

   1  
   2  {let a=2    b=3 c=array( 1, 2, 3 )}
   3  
   4      a tab
   5      spaces
   6  
   7  {section show=$a}
   8      {section var=i loop=$c}
   9          {$i}
  10      {delimiter}
  11          /    
  12      {/delimiter}
  13      {/section}
  14  
  15  {section-else}
  16  
  17      {$b}
  18      {set b=5}
  19      {$b}
  20  
  21  {/section}
  22  
  23  
  24  {ldelim}section{rdelim}
  25  
  26  {switch match=$a}
  27  {case match=1}
  28  #1
  29  {/case}
  30  {case match=2}
  31  #2
  32  {/case}
  33  {case match=3}
  34  #3
  35  {/case}
  36  {case/}
  37  {/switch}
  38  
  39  {default d=42}
  40      {$d}
  41  {/default}
  42  
  43  
  44  
  45  {/let}
  46  


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7