[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 3 <div class="block"> 4 <label>{'Style'|i18n( 'design/standard/class/datatype' )}:</label> 5 <select name="ContentClass_ezselection_ismultiple_value_{$class_attribute.id}"> 6 <option value="0" {section show=not( $class_attribute.data_int1 )}selected="selected"{/section}>{'Single choice'|i18n( 'design/standard/class/datatype' )}</option> 7 <option value="1" {section show=$class_attribute.data_int1}selected="selected"{/section}>{'Multiple choice'|i18n( 'design/standard/class/datatype' )}</option> 8 </select> 9 </div> 10 11 <div class="block"> 12 <fieldset> 13 <legend>{'Options'|i18n( 'design/standard/class/datatype' )}</legend> 14 {section show=$class_attribute.content.options} 15 <table class="list" cellspacing="0"> 16 <tr> 17 <th class="tight"> </th> 18 <th>{'Option'|i18n( 'design/standard/class/datatype' )}</th> 19 </tr> 20 {section name=Option loop=$class_attribute.content.options} 21 <tr> 22 {* Remove. *} 23 <td><input type="checkbox" name="ContentClass_ezselection_option_remove_array_{$class_attribute.id}[{$Option:item.id}]" value="1" title="{'Select option for removal.'|i18n( 'design/standard/class/datatype' )}" /></td> 24 25 {* Option. *} 26 <td><input class="box" type="text" name="ContentClass_ezselection_option_name_array_{$class_attribute.id}[{$Option:item.id}]" value="{$Option:item.name}" /></td> 27 </tr> 28 {/section} 29 </table> 30 {section-else} 31 <p>{'There are no options.'|i18n( 'design/standard/class/datatype' )}</p> 32 {/section} 33 34 {* Buttons. *} 35 {section show=$class_attribute.content.options} 36 <input class="button" type="submit" name="ContentClass_ezselection_removeoption_button_{$class_attribute.id}" value="{'Remove selected'|i18n( 'design/standard/class/datatype' )}" title="{'Remove selected options.'|i18n( 'design/standard/class/datatype' )}" /> 37 {section-else} 38 <input class="button-disabled" type="submit" name="ContentClass_ezselection_removeoption_button_{$class_attribute.id}" value="{'Remove selected'|i18n( 'design/standard/class/datatype' )}" disabled="disabled" /> 39 {/section} 40 41 <input class="button" type="submit" name="ContentClass_ezselection_newoption_button_{$class_attribute.id}" value="{'New option'|i18n( 'design/standard/class/datatype' )}" title="{'Add a new option.'|i18n( 'design/standard/class/datatype' )}" /> 42 </fieldset> 43 </div>
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 |