[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {let content=$class_attribute.content} 3 4 <div class="block"> 5 <label>{'Selection method'|i18n( 'design/standard/class/datatype' )}:</label> 6 <select name="ContentClass_ezobjectrelation_selection_type_{$class_attribute.id}"> 7 <option value="0" {eq( $content.selection_type, 0 )|choose( '', 'selected="selected"' )}>{'Browse'|i18n( 'design/standard/class/datatype' )}</option> 8 <option value="1" {eq( $content.selection_type, 1 )|choose( '', 'selected="selected"' )}>{'Dropdown list'|i18n( 'design/standard/class/datatype' )}</option> 9 {* Commented out because somebody forgot to implement this functionality... *} 10 {* <option value="2" {eq( $content.selection_type, 2 )|choose( '', 'selected="selected"' )}>{'Dropdown tree'|i18n( 'design/standard/class/datatype' )}</option> *} 11 </select> 12 </div> 13 14 <div class="block"> 15 <fieldset> 16 <legend>{'Default selection item'|i18n( 'design/standard/class/datatype' )}</legend> 17 {section show=$content.default_selection_node} 18 {let selection_node=fetch( content, node, hash( node_id, $content.default_selection_node ) )} 19 <table class="list" cellspacing="0"> 20 <tr> 21 <th>{'Name'|i18n( 'design/standard/class/datatype' )}</th> 22 <th>{'Type'|i18n( 'design/standard/class/datatype' )}</th> 23 <th>{'Section'|i18n( 'design/standard/class/datatype' )}</th> 24 </tr> 25 <tr> 26 <td>{$selection_node.class_identifier|class_icon( small, $selection_node.class_name )} {$selection_node.name|wash}</td> 27 <td>{$selection_node.class_name|wash}</td> 28 <td>{let section_object=fetch( section, object, hash( section_id, $selection_node.object.section_id ) )}{section show=$section_object}{$section_object.name|wash}{section-else}<i>{'Unknown section'|i18n( 'design/standard/class/datatype' )}</i>{/section}{/let}</td> 29 </tr> 30 </table> 31 <input class="button" type="submit" name="CustomActionButton[{$class_attribute.id}_disable_selection_node]" value="{'Remove selection'|i18n('design/standard/class/datatype')}" /> 32 {/let} 33 {section-else} 34 <p>{'No item has been selected.'|i18n( 'design/standard/class/datatype' )}</p> 35 <input class="button-disabled" type="submit" name="CustomActionButton[{$class_attribute.id}_disable_selection_node]" value="{'Remove selection'|i18n('design/standard/class/datatype')}" disabled="disabled" /> 36 {/section} 37 38 <input class="button" type="submit" name="CustomActionButton[{$class_attribute.id}_browse_for_selection_node]" value="{'Select item'|i18n('design/standard/class/datatype')}" /> 39 </fieldset> 40 </div> 41 42 <div class="block"> 43 <label>{'Allow fuzzy match'|i18n( 'design/standard/class/datatype' )}:</label> 44 <input type="checkbox" name="ContentClass_ezobjectrelation_selection_fuzzy_match_{$class_attribute.id}" {section show=$content.fuzzy_match}checked="checked"{/section} /> 45 <input type="hidden" name="ContentClass_ezobjectrelation_selection_fuzzy_match_helper_{$class_attribute.id}" value="1" /> 46 </div> 47 48 {/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 |