[ 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/class/datatype/view/ -> ezobjectrelation.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let content=$class_attribute.content}
   3  
   4  {* Selection method. *}
   5  <div class="block">
   6      <label>{'Selection method'|i18n( 'design/standard/class/datatype' )}:</label>
   7      <p>{$content.selection_type|choose( 'Browse'|i18n( 'design/standard/class/datatype' ), 'Drop-down list'|i18n( 'design/standard/class/datatype' ), 'Drop-down tree'|i18n( 'design/standard/class/datatype' ) )}</p>
   8  </div>
   9  
  10  {* Selection item/node. *}
  11  <div class="block">
  12  <label>{'Default selection item'|i18n( 'design/standard/class/datatype' )}:</label>
  13  {section show=$content.default_selection_node}
  14      {let selection_node=fetch( content, node, hash( node_id, $content.default_selection_node ) )}
  15      <table class="list" cellspacing="0">
  16      <tr>
  17          <th>{'Name'|i18n( 'design/standard/class/datatype' )}</th>
  18          <th>{'Type'|i18n( 'design/standard/class/datatype' )}</th>
  19          <th>{'Section'|i18n( 'design/standard/class/datatype' )}</th>
  20      </tr>
  21      <tr>
  22          <td>{$selection_node.class_identifier|class_icon( small, $selection_node.class_name )}&nbsp;<a href={$selection_node.url_alias|ezurl}>{$selection_node.name|wash}</a></td>
  23          <td>{$selection_node.class_name|wash}</td>
  24          <td>{let section_object=fetch( section, object, hash( section_id, $selection_node.object.section_id ) )}{section show=$section_object}<a href={concat( 'section/view/', $section_object.id)|ezurl}>{$section_object.name|wash}</a>{section-else}<i>{'Unknown section'|i18n( 'design/standard/class/datatype' )}</i>{/section}{/let}</td>
  25      </tr>
  26      </table>
  27      {/let}
  28  {section-else}
  29      <p>{'No item has been selected.'|i18n( 'design/standard/class/datatype' )}</p>
  30  {/section}
  31  </div>
  32  
  33  {* Fuzzy match. *}
  34  <div class="block">
  35      <label>{'Allow fuzzy match'|i18n( 'design/standard/class/datatype' )}:</label>
  36      {section show=$content.fuzzy_match}
  37          <p>{'Yes'|i18n( 'design/standard/class/datatype' )}</p>
  38      {section-else}
  39          <p>{'No'|i18n( 'design/standard/class/datatype' )}</p>
  40      {/section}
  41  </div>
  42  
  43  {/let}


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