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

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let page_limit=15
   3       list_count=fetch('content','pending_count')}
   4  
   5  <form name="pendinglistaction" action={concat("content/pendinglist/")|ezurl} method="post" >
   6  
   7  <div class="maincontentheader">
   8  <h1>{"My pending list"|i18n("design/standard/content/view")}</h1>
   9  </div>
  10  
  11  {let pending_list=fetch('content','pending_list',hash(limit,$page_limit,offset,$view_parameters.offset))}
  12  
  13  {section show=$pending_list}
  14  
  15  <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0">
  16  <tr>
  17      <th>{"Name"|i18n("design/standard/content/view")}</th>
  18      <th>{"Class"|i18n("design/standard/content/view")}</th>
  19      <th>{"Section"|i18n("design/standard/content/view")}</th>
  20      <th>{"Version"|i18n("design/standard/content/view")}</th>
  21      <th>{"Last modified"|i18n("design/standard/content/view")}</th>
  22  </tr>
  23  
  24  {section name=PendingList loop=$pending_list sequence=array(bglight,bgdark)}
  25  <tr class="{$PendingList:sequence}">
  26     <td>
  27          <a href={concat("/content/versionview/",$PendingList:item.contentobject.id,"/",$PendingList:item.version,"/")|ezurl}>{$PendingList:item.contentobject.content_class.identifier|class_icon( small, $PendingList:item.contentobject.content_class.name )}&nbsp;{$PendingList:item.contentobject.name|wash}</a>
  28      </td>
  29      <td>
  30          {$PendingList:item.contentobject.content_class.name|wash}
  31      </td>
  32      <td>
  33          {$PendingList:item.contentobject.section_id}
  34      </td>
  35      <td>
  36          {$PendingList:item.version}
  37      </td>
  38      <td>
  39          {$PendingList:item.modified|l10n(datetime)}
  40      </td>
  41  </tr>
  42  {/section}
  43  </table>
  44  {include name=navigator
  45           uri='design:navigator/google.tpl'
  46           page_uri='/content/pendinglist'
  47           item_count=$list_count
  48           view_parameters=$view_parameters
  49           item_limit=$page_limit}
  50  
  51  {section-else}
  52  
  53  <div class="feedback">
  54  <h2>{"Your pending list is empty"|i18n("design/standard/content/view")}</h2>
  55  </div>
  56  
  57  {/section}


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