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

   1  <div class="content-navigation-childlist">
   2      <table class="list" cellspacing="0">
   3      <tr>
   4          {* Remove column *}
   5          <th class="remove"><img src={'toggle-button-16x16.gif'|ezimage} alt="{'Invert selection.'|i18n( 'design/admin/node/view/full' )}" title="{'Invert selection.'|i18n( 'design/admin/node/view/full' )}" onclick="ezjs_toggleCheckboxes( document.children, 'DeleteIDArray[]' ); return false;" /></th>
   6  
   7          {* Name column *}
   8          <th class="name">{'Name'|i18n( 'design/admin/node/view/full' )}</th>
   9  
  10          {* Hidden/Invisible column *}
  11          <th class="hidden_invisible">{'Visibility'|i18n( 'design/admin/node/view/full' )}</th>
  12  
  13          {* Class type column *}
  14          <th class="class">{'Type'|i18n( 'design/admin/node/view/full' )}</th>
  15  
  16          {* Modifier column *}
  17          <th class="modifier">{'Modifier'|i18n( 'design/admin/node/view/full' )}</th>
  18  
  19          {* Modified column *}
  20          <th class="modified">{'Modified'|i18n( 'design/admin/node/view/full' )}</th>
  21  
  22          {* Section column *}
  23          <th class="section">{'Section'|i18n( 'design/admin/node/view/full' )}</th>
  24  
  25          {* Priority column *}
  26          {section show=eq( $node.sort_array[0][0], 'priority' )}
  27              <th class="priority">{'Priority'|i18n( 'design/admin/node/view/full' )}</th>
  28          {/section}
  29  
  30          {* Copy column *}
  31          <th class="copy">&nbsp;</th>
  32  
  33          {* Move column *}
  34          <th class="move">&nbsp;</th>
  35  
  36          {* Edit column *}
  37          <th class="edit">&nbsp;</th>
  38      </tr>
  39  
  40      {section var=Nodes loop=$children sequence=array( bglight, bgdark )}
  41      {let child_name=$Nodes.item.name|wash
  42           node_name=$node.name}
  43  
  44          <tr class="{$Nodes.sequence}">
  45  
  46          {* Remove checkbox *}
  47          <td>
  48          {section show=$Nodes.item.can_remove}
  49              <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}" />
  50              {section-else}
  51              <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" />
  52          {/section}
  53          </td>
  54  
  55          {* Name *}
  56          <td>{node_view_gui view=line content_node=$Nodes.item}</td>
  57  
  58          {* Visibility. *}
  59          <td class="nowrap">{$Nodes.item.hidden_status_string}</td>
  60  
  61          {* Class type *}
  62          <td class="class">{$Nodes.item.class_name|wash}</td>
  63  
  64          {* Modifier *}
  65          <td class="modifier"><a href={$Nodes.item.object.current.creator.main_node.url_alias|ezurl}>{$Nodes.item.object.current.creator.name|wash}</a></td>
  66  
  67          {* Modified *}
  68          <td class="modified">{$Nodes.item.object.modified|l10n( shortdatetime )}</td>
  69  
  70          {* Section *}
  71          <td>{let section_object=fetch( section, object, hash( section_id, $Nodes.object.section_id ) )}{section show=$section_object}<a href={concat( '/section/view/', $Nodes.object.section_id )|ezurl}>{$section_object.name|wash}</a>{section-else}<i>{'Unknown'|i18n( 'design/admin/node/view/full' )}</i>{/section}{/let}</td>
  72  
  73          {* Priority *}
  74          {section show=eq( $node.sort_array[0][0], 'priority' )}
  75              <td>
  76              {section show=$node.can_edit}
  77                  <input class="priority" type="text" name="Priority[]" size="3" value="{$Nodes.item.priority}" title="{'Use the priority fields to control the order in which the items appear. Use positive and negative integers. Click the "Update priorities" button to apply the changes.'|i18n( 'design/admin/node/view/full' )|wash}" />
  78                  <input type="hidden" name="PriorityID[]" value="{$Nodes.item.node_id}" />
  79                  {section-else}
  80                  <input class="priority" type="text" name="Priority[]" size="3" value="{$Nodes.item.priority}" title="{'You are not allowed to update the priorities because you do not have permissions to edit <%node_name>.'|i18n( 'design/admin/node/view/full',, hash( '%node_name', $node_name ) )|wash}" disabled="disabled" />
  81              {/section}
  82              </td>
  83          {/section}
  84  
  85      {* Copy button *}
  86      <td>
  87      {section show=$can_copy}
  88      <a href={concat( 'content/copy/', $Nodes.item.contentobject_id )|ezurl}><img src={'copy.gif'|ezimage} alt="{'Copy'|i18n( 'design/admin/node/view/full' )}" title="{'Create a copy of <%child_name>.'|i18n( 'design/admin/node/view/full',, hash( '%child_name', $child_name ) )|wash}" /></a>
  89      {section-else}
  90      <img src={'copy-disabled.gif'|ezimage} alt="{'Copy'|i18n( 'design/admin/node/view/full' )}" title="{'You can not make a copy of <%child_name> because you do not have create permissions for <%node_name>.'|i18n( 'design/admin/node/view/full',, hash( '%child_name', $child_name, '%node_name', $node_name ) )|wash}" />
  91      {/section}
  92      </td>
  93  
  94      {* Move button. *}
  95      <td>
  96      <a href={concat( 'content/move/', $Nodes.item.node_id )|ezurl}><img src={'move.gif'|ezimage} alt="{'Move'|i18n( 'design/admin/node/view/full' )}" title="{'Move <%child_name> to another location.'|i18n( 'design/admin/node/view/full',, hash( '%child_name', $child_name ) )|wash}" /></a>
  97      </td>
  98  
  99          {* Edit button *}
 100          {* section show=$can_edit *}
 101          <td>
 102          {section show=$Nodes.item.can_edit}
 103              <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>
 104          {section-else}
 105              <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>
 106          {/section}
 107          </td>
 108          {* /section *}
 109    </tr>
 110  
 111  {/let}
 112  {/section}
 113  
 114  </table>
 115  </div>
 116  


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