[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {let total_count=fetch('content','collected_info_count', hash( 'object_attribute_id', $attribute.contentobject_attribute_id ) ) 3 item_counts=fetch('content','collected_info_count_list', hash( 'object_attribute_id', $attribute.contentobject_attribute_id ) ) } 4 <h1>test</h1> 5 <table width="500" cellspacing="0"> 6 <tr> 7 8 {$:attribute.contentobject_attribute.content.name} 9 10 {section name=Option loop=$:attribute.contentobject_attribute.content.option_list} 11 <td> 12 {$:item.value} 13 </td> 14 <td> 15 <table width="300"> 16 <tr> 17 {let item_count=0} 18 {section show=is_set($item_counts[$:item.id])} 19 {set item_count=$item_counts[$:item.id]} 20 {/section} 21 <td bgcolor="ffff00" width="{div(mul($:item_count,300),$total_count)}"> 22 23 </td> 24 <td bgcolor="eeeeee" width="{sub(300,div(mul($:item_count,300),$total_count))}"> 25 26 </td> 27 {/let} 28 29 </tr> 30 </table> 31 </td> 32 {delimiter} 33 </tr> 34 <tr> 35 {/delimiter} 36 37 {/section} 38 </tr> 39 </table> 40 Total: {$total_count} 41 42 {/let}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |