[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {default attribute_base=ContentObjectAttribute} 3 4 {section show=count( $attribute.content.modified )} 5 <div class="message-warning"> 6 <p>{'Warning, the ini file settings value and object value does not match.'|i18n( 'design/standard/class/datatype' )}</p> 7 <p>{'The ini file has probably been modified manually since last time.'|i18n( 'design/standard/class/datatype' )}</p> 8 {section var=modified loop=$attribute.content.modified} 9 <ul> 10 <li>{'Ini File : '|i18n( 'design/standard/class/datatype' )}{$modified.item.file|wash}</li> 11 <li>{'Ini Value: '|i18n( 'design/standard/class/datatype' )}{$modified.item.ini_value|wash}</li> 12 </ul> 13 {/section} 14 </div> 15 {/section} 16 17 18 {switch match=$attribute.contentclass_attribute.data_int1} 19 20 {* String. *} 21 {case in=array( 1, 4, 5 )} 22 <input id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="box ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" type="text" size="50" name="{$attribute_base}_ini_setting_{$attribute.id}" value="{$attribute.data_text|wash}" /> 23 {/case} 24 25 {* Boolean: enabled/disabled. *} 26 {case match=2} 27 <select id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" name="{$attribute_base}_ini_setting_{$attribute.id}"> 28 <option value="enabled" {section show=$attribute.data_text|eq( 'enabled' )}selected="selected"{/section}>{'Enabled'|i18n( 'design/standard/class/datatype' )}</option> 29 <option value="disabled" {section show=$attribute.data_text|eq( 'disabled' )}selected="selected"{/section}>{'Disabled'|i18n( 'design/standard/class/datatype' )}</option> 30 </select> 31 {/case} 32 33 {* Boolean: true/false. *} 34 {case match=3} 35 <select id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" name="{$attribute_base}_ini_setting_{$attribute.id}"> 36 <option value="true" {section show=$attribute.data_text|eq( 'true' )}selected="selected"{/section}>{'True'|i18n( 'design/standard/class/datatype' )}</option> 37 <option value="false" {section show=$attribute.data_text|eq( 'false' )}selected="selected"{/section}>{'False'|i18n( 'design/standard/class/datatype' )}</option> 38 </select> 39 {/case} 40 41 {* Array. *} 42 {case match=6} 43 <div class="block"> 44 <label>{'Make empty array'|i18n( 'design/standard/class/datatype' )}:</label> 45 <input id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" type="checkbox" name="{$attribute_base}_ini_setting_make_empty_array_{$attribute.id}" {$attribute.data_int|choose( '', 'checked=checked' )} /> 46 </div> 47 <textarea id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="box ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" name="{$attribute_base}_ini_setting_{$attribute.id}" cols="97" rows="5">{$attribute.data_text|wash}</textarea> 48 {/case} 49 50 {/switch} 51 {/default}
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 |