[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/tests/eztemplate/operators/ -> choose.tpl (source)

   1  {let choice=true()}
   2  $choice|choose( 'True', 'False' )='{$choice|choose( 'True', 'False' )}'
   3  {/let}
   4  
   5  
   6  3|choose( 'a', 'b', 'c', 'd', 'e' )='{3|choose( 'a', 'b', 'c', 'd', 'e' )}'
   7  
   8  
   9  {let select=4}
  10  $select|choose( 'a', 'b', 'c', 'd', 'e' )='{$select|choose( 'a', 'b', 'c', 'd', 'e' )}'
  11  {/let}
  12  
  13  
  14  
  15  {let select=1 first='a' second='b'}
  16  $select|choose( $first, $second, 'c', 'd', 'e' )='{$select|choose( $first, $second, 'c', 'd', 'e' )}'
  17  {/let}


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