templatesearchresults.tpl 772 Bytes
Newer Older
1
2
<table class="templateresults tablerenderer">
  <thead>
3
4
5
{if ($ownername)}
    <tr><th colspan="3">{$ownername}</th></tr>
{else}
6
7
8
9
10
    <tr>
      <th>{str tag=name}</th>
      <th>{str tag=Owner section=view}</th>
      <th></th>
    </tr>
11
{/if}
12
13
14
15
16
  </thead>
  <tbody>
{if !empty($results)}
{foreach from=$results item=row}
    <tr class="r{cycle values=0,1}">
17
      <td{if ($ownername)} colspan="2"{/if}>
18
        <a class="viewlink" href="{$WWWROOT}view/view.php?id={$row.id|escape}" target="_blank">{$row.title|escape}</a>
19
      </td>
20
21
22
{if (!$ownername)}
      <td>{$row.sharedby|escape}</td>
{/if}
23
24
25
26
27
28
29
30
31
32
      <td>
        {$row.form}
      </td>
    </tr>
{/foreach}
{else}
    <tr><td colspan="3">{str tag="nocopyableviewsfound" section=view}</td></tr>
{/if}
  </tbody>
</table>