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

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {let page_limit=30
   3       can_edit=false()}
   4  {*     list_count=fetch('content','draft_count')} *}
   5  <form action={concat("content/bookmark/")|ezurl} method="post" >
   6  
   7  <div class="maincontentheader">
   8  <h1>{"My bookmarks"|i18n("design/standard/content/view")}</h1>
   9  </div>
  10  
  11  {let bookmark_list=fetch('content','bookmarks',array())}
  12  
  13  {section show=$bookmark_list}
  14  
  15  <p>
  16      {"These are the objects you have bookmarked. Click on an object to view it or if you have sufficient permission you can to edit the object by clicking the edit button.
  17        If you want to add more objects to this list click the %emphasize_startAdd bookmarks%emphasize_stop button.
  18  
  19        Removing objects will only remove them from this list."
  20        |i18n("design/standard/content/view",,
  21              hash( '%emphasize_start', '<i>',
  22                    '%emphasize_stop', '</i>' ) )
  23        |nl2br}
  24  </p>
  25  
  26  {section loop=$bookmark_list}
  27    {section show=$:item.node.object.can_edit}
  28      {set can_edit=true()}
  29    {/section}
  30  {/section}
  31  
  32  <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0">
  33  <tr>
  34      <th width="1">
  35      </th>
  36      <th width="69%">
  37          {"Name"|i18n("design/standard/content/view")}
  38      </th>
  39      <th width="30%">
  40          {"Class"|i18n("design/standard/content/view")}
  41      </th>
  42      <th width="30%">
  43          {"Section"|i18n("design/standard/content/view")}
  44      </th>
  45      {section show=$can_edit}
  46          <th width="1">
  47               {'Edit'|i18n('design/standard/content/view')}
  48          </th>
  49      {/section}
  50  </tr>
  51  
  52  {section name=Bookmark loop=$bookmark_list sequence=array(bgdark,bglight)}
  53  <tr class="{$:sequence}">
  54      <td align="left">
  55          <input type="checkbox" name="DeleteIDArray[]" value="{$:item.id}" />
  56      </td>
  57  
  58      <td>
  59          <a href={concat("/content/view/full/",$:item.node_id,"/")|ezurl}>{$:item.node.object.content_class.identifier|class_icon( small, $:item.node.object.content_class.name )}&nbsp;{$:item.node.name|wash}</a>
  60      </td>
  61  
  62      <td>
  63          {$:item.node.object.content_class.name|wash}
  64      </td>
  65  
  66      <td>
  67          {$:item.node.object.section_id}
  68      </td>
  69  
  70      {section show=$can_edit}
  71          <td width="1">
  72              {section show=$:item.node.object.can_edit}
  73                  <a href={concat("content/edit/",$:item.node.contentobject_id)|ezurl}><img src={"edit.gif"|ezimage} alt="{'Edit'|i18n('design/standard/content/view')}" /></a>
  74              {/section}
  75          </td>
  76      {/section}
  77  </tr>
  78  {/section}
  79  
  80  <tr>
  81      <td align="left">
  82          <input type="image" name="RemoveButton" value="{'Remove'|i18n('design/standard/content/view')}" src={"trash.png"|ezimage} alt="{'Remove'|i18n('design/standard/content/view')}" />
  83      </td>
  84      <td colspan="3">
  85      </td>
  86  </tr>
  87  </table>
  88  {*{include name=navigator
  89           uri='design:navigator/google.tpl'
  90           page_uri='/content/draft'
  91           item_count=$list_count
  92           view_parameters=$view_parameters
  93           item_limit=$page_limit}
  94  *}
  95  {section-else}
  96  
  97  <div class="feedback">
  98      <h2>{"You have no bookmarks"|i18n("design/standard/content/view")}</h2>
  99  </div>
 100  
 101  {/section}
 102  
 103  <div class="buttonblock">
 104      <input class="defaultbutton" type="submit" name="AddButton" value="{'Add bookmarks'|i18n('design/standard/content/view')}" />
 105  </div>
 106  
 107  
 108  </form>
 109  
 110  {/let}
 111  
 112  {/let}
 113  


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