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