[ 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/ -> indent.tpl (source)

   1  {let input1="test" input2="test
   2  test2
   3  test3" indent=4 type1='tab' type2='space' type3='custom' type3_text='foo '}
   4  **** input=variable, count=variable, type=variable ****
   5  <{$input1|indent( $indent, $type1 )}>
   6  <{$input1|indent( $indent, $type2 )}>
   7  <{$input1|indent( $indent, $type3, $type3_text )}>
   8  <{$input2|indent( $indent, $type1 )}>
   9  <{$input2|indent( $indent, $type2 )}>
  10  <{$input2|indent( $indent, $type3, $type3_text )}>
  11  **** input=static, count=variable, type=variable ****
  12  <{"test"|indent( $indent, $type1 )}>
  13  <{"test"|indent( $indent, $type2 )}>
  14  <{"test"|indent( $indent, $type3, $type3_text )}>
  15  <{"test
  16  test2
  17  test3"|indent( $indent, $type1 )}>
  18  <{"test
  19  test2
  20  test3"|indent( $indent, $type2 )}>
  21  <{"test
  22  test2
  23  test3"|indent( $indent, $type3, $type3_text )}>
  24  **** input=static, count=variable, type=static ****
  25  <{"test"|indent( $indent, 'tab' )}>
  26  <{"test"|indent( $indent, 'space' )}>
  27  <{"test"|indent( $indent, 'custom', 'foo ' )}>
  28  <{"test
  29  test2
  30  test3"|indent( $indent, 'tab' )}>
  31  <{"test
  32  test2
  33  test3"|indent( $indent, 'space' )}>
  34  <{"test
  35  test2
  36  test3"|indent( $indent, 'custom', 'foo ' )}>
  37  {/let}
  38  
  39  **** input=static, count=static, type=static ****
  40  <{"test"|indent( 4, 'tab' )}>
  41  <{"test"|indent( 4, 'space' )}>
  42  <{"test"|indent( 4, 'custom', 'foo ' )}>
  43  <{"test
  44  test2
  45  test3"|indent( 4, 'tab' )}>
  46  <{"test
  47  test2
  48  test3"|indent( 4, 'space' )}>
  49  <{"test
  50  test2
  51  test3"|indent( 4, 'custom', 'foo ' )}>


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