[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/design/admin/templates/ -> children_thumbnail.tpl (source)

   1  {* This template displays a collection of child nodes as thumbnails. *}
   2  {* It is included/used from within the children.tpl if the user's viewmode is set to list. *}
   3  <div class="content-navigation-childlist">
   4  <table class="list-thumbnails" cellspacing="0">
   5      <tr>
   6      {section var=Nodes loop=$children sequence=array( bglight, bgdark )}
   7      {let child_name=$Nodes.item.name|wash}
   8          <td width="25%">
   9          {node_view_gui view=thumbnail content_node=$Nodes.item}
  10  
  11          <div class="controls">
  12          {* Remove checkbox *}
  13          {section show=$Nodes.item.can_remove}
  14              <input type="checkbox" name="DeleteIDArray[]" value="{$Nodes.item.node_id}" title="{'Use these checkboxes to select items for removal. Click the "Remove selected" button to actually remove the selected items.'|i18n( 'design/admin/node/view/full' )|wash()}" />
  15              {section-else}
  16              <input type="checkbox" name="DeleteIDArray[]" value="{$Nodes.item.node_id}" title="{'You do not have permissions to remove this item.'|i18n( 'design/admin/node/view/full' )}" disabled="disabled" />
  17          {/section}
  18  
  19          {* Edit button *}
  20          {section show=$Nodes.item.can_edit}
  21              <a href={concat( 'content/edit/', $Nodes.item.contentobject_id )|ezurl}><img src={'edit.gif'|ezimage} alt="{'Edit'|i18n( 'design/admin/node/view/full' )}" title="{'Edit <%child_name>.'|i18n( 'design/admin/node/view/full',, hash( '%child_name', $child_name ) )|wash}" /></a>
  22          {section-else}
  23              <img src={'edit-disabled.gif'|ezimage} alt="{'Edit'|i18n( 'design/admin/node/view/full' )}" title="{'You do not have permissions to edit <%child_name>.'|i18n( 'design/admin/node/view/full',, hash( '%child_name', $child_name ) )|wash}" /></a>
  24          {/section}
  25  
  26          <p><a href={$Nodes.url_alias|ezurl}>{$child_name}</a></p>
  27          </div>
  28      {/let}
  29  </td>
  30  {delimiter modulo=4}
  31  </tr><tr>
  32  {/delimiter}
  33  {/section}
  34  </tr>
  35  </table>
  36  </div>


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