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

   1  <h2 class="context-title">
   2  {'"%contentObjectName" [%children_count]: Sub items that are used by other objects '|i18n( 'design/admin/content/reverserelatedlist',,
   3                  hash( '%contentObjectName', $content_object_name ,
   4                        '%children_count', $reverse_list_children_count ) )}
   5  </h2>
   6  
   7  <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0">
   8  <tr>
   9  {* Item column *}
  10      <th colspan="2">{'Item'|i18n( 'design/admin/content/children_reverserelatedlist' )}</th>
  11      {* Class type column *}
  12      <th>{'Type'|i18n( 'design/admin/node/removeobject' )}</th>
  13      <th>{'Objects referring to this one'|i18n( 'design/admin/content/children_reverserelatedlist' )}</th>
  14  </tr>
  15  
  16  {section var=children_item loop=$children_list sequence=array( bglight, bgdark )}
  17  <tr class="{$children_item.sequence}">
  18      {* Object icon. *}
  19      <td>
  20           {$children_item.object.class_identifier|class_icon( small, $children_item.object.class_name|wash )}
  21      </td>
  22  
  23      {* Location. *}
  24      <td>
  25      {section var=path_node loop=$children_item.path|append( $children_item )}
  26                {$path_node.name|wash}
  27                {delimiter} / {/delimiter}
  28      {/section}
  29      </td>
  30  
  31      {* Type. *}
  32      <td>
  33      {$children_item.object.class_name|wash}
  34       </td>
  35  
  36      {* Objects referring to this one. *}
  37      <td>
  38        {$reverse_list_count_children_array[$children_item.object.id]}
  39      </td>
  40  
  41  </tr>
  42  {/section}
  43  
  44  </table>
  45          {include name=navigator
  46                       uri='design:navigator/google.tpl'
  47                       page_uri=concat( '/content/reverserelatedlist/', $node_id )
  48               item_count=$children_count
  49                       view_parameters=$view_parameters
  50                       item_limit=$number_of_items}
  51  
  52  {* DESIGN: Content END *}


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