[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/content/datatype/edit/ -> ezselection.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {default attribute_base=ContentObjectAttribute}
   3  {let selected_id_array=$attribute.content}
   4  
   5  {* Always set the .._selected_array_.. variable, this circumvents the problem when nothing is selected. *} 
   6  <input type="hidden" name="{$attribute_base}_ezselect_selected_array_{$attribute.id}" value="">
   7  
   8  <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}_ezselect_selected_array_{$attribute.id}[]" {section show=$attribute.class_content.is_multiselect}multiple{/section}>
   9  {section var=Options loop=$attribute.class_content.options}
  10  <option value="{$Options.item.id}" {section show=$selected_id_array|contains( $Options.item.id )}selected="selected"{/section}>{$Options.item.name|wash( xhtml )}</option>
  11  {/section}
  12  </select>
  13  {/let}
  14  {/default}


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