blogpost_renderfull.tpl 860 Bytes
Newer Older
1
2
3
4
{**
 * This template displays a blog post.
 *}
<div>
5
  {if $artefacttitle}<h3>{$artefacttitle}</h3>{/if}
6
  <div>{$artefactdescription}</div>
7
  {if isset($attachments)}
8
  <table class="cb blogpost-attachments">
9
    <tbody>
10
      <tr><th colspan="2">{str tag=attachedfiles section=artefact.blog}</th></tr>
11
  {foreach from=$attachments item=item}
12
      <tr class="r{cycle values=1,0}">
13
        {if $icons}<td style="width: 22px;"><img src="{$item->iconpath|escape}" alt=""></td>{/if}
14
        <td><a href="{$item->viewpath|escape}">{$item->title|escape}</a> ({$item->size|escape}) - <strong><a href="{$item->downloadpath|escape}">{str tag=Download section=artefact.file}</a></strong>
15
        <br><strong>{$item->description|escape}</strong></td>
16
17
18
19
20
      </tr>
  {/foreach}
    </tbody>
  </table>
  {/if}
21
  <div class="postdetails">{$postedbyon|escape}</div>
22
</div>