[ 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/ -> edit_attribute.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2      {default $view_parameters=array()}
   3      {section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
   4      <div class="block">
   5  
   6      {* only show edit GUI if we can edit *}
   7      {section show=and(eq($ContentObjectAttribute:item.contentclass_attribute.can_translate,0),
   8                        ne($object.initial_language_code,$ContentObjectAttribute:item.language_code) ) }
   9          <label>{$ContentObjectAttribute:item.contentclass_attribute.name|wash}</label><div class="labelbreak"></div>
  10          <input type="hidden" name="ContentObjectAttribute_id[]" value="{$ContentObjectAttribute:item.id}" />
  11          {attribute_view_gui attribute_base=$attribute_base attribute=$ContentObjectAttribute:item view_parameters=$view_parameters}
  12          </div>
  13      {section-else}
  14          <label{section show=$ContentObjectAttribute:item.has_validation_error} class="validation-error"{/section}>{$ContentObjectAttribute:item.contentclass_attribute.name|wash}</label><div class="labelbreak"></div>
  15          <input type="hidden" name="ContentObjectAttribute_id[]" value="{$ContentObjectAttribute:item.id}" />
  16          {attribute_edit_gui attribute_base=$attribute_base attribute=$ContentObjectAttribute:item view_parameters=$view_parameters}
  17          </div>
  18  
  19      {/section}
  20  
  21      {/section}
  22      {/default}


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