[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/design/base/override/templates/full/ -> forum_reply.tpl (source)

   1  <h1>{"Message preview"|i18n("design/base")}</h1>
   2  
   3  <div class="forum_level4">
   4  <table class="forum" cellspacing="0">
   5  <tr>
   6      <th class="author">
   7      {"Author"|i18n("design/base")}
   8      </th>
   9      <th class="message">
  10      {"Topic"|i18n("design/base")}
  11      </th>
  12  </tr>
  13  <tr class="bglightforum">
  14      <td class="author">
  15      {let owner=$node.object.owner owner_map=$owner.data_map}
  16          <p class="author">{$owner.name|wash}
  17          {section show=is_set( $owner_map.title )}
  18              <br />{$owner_map.title.content|wash}
  19          {/section}</p>
  20          {section show=$owner_map.image.has_content}
  21          <div class="authorimage">
  22              {attribute_view_gui attribute=$owner_map.image image_class=small}
  23          </div>
  24          {/section}
  25  
  26          {section show=is_set( $owner_map.location )}
  27              <p>{"Location"|i18n("design/base")}:{$owner_map.location.content|wash}</p>
  28          {/section}
  29          <p>
  30          {let owner_id=$node.object.owner.id}
  31              {section name=Author loop=$node.object.author_array}
  32                  {section  show=eq($owner_id,$Author:item.contentobject_id)|not()}
  33                      {"Moderated by"|i18n("design/base")}: {$Author:item.contentobject.name|wash}
  34                   {/section}
  35               {/section}
  36          {/let}
  37          </p>
  38  
  39          {section show=$node.object.can_edit}
  40          <form method="post" action={"content/action/"|ezurl}>
  41  
  42          <br/>
  43  
  44          <input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
  45          <input class="button forum-edit-reply" type="submit" name="EditButton" value="{'Edit'|i18n('design/base')}" />
  46  
  47          </form>
  48          {/section}
  49  
  50      </td>
  51      <td class="message">
  52          <p class="date">{$node.object.published|l10n(datetime)}</p>
  53  
  54          <h3>{$node.name|wash}</h3>
  55  
  56          <p>
  57              {$node.data_map.message.content|simpletags|wordtoimage|autolink}
  58          </p>
  59          {section show=$owner_map.signature.has_content}
  60              <p class="author-signature">{$owner_map.signature.content|simpletags|autolink}</p>
  61          {/section}
  62      {/let}
  63      </td>
  64  </tr>
  65  </table>
  66  </div>
  67  


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