tags.tpl 936 Bytes
Newer Older
1
2
{include file="header.tpl"}

3
4
5
{if $tags}
    <div class="mytags">
  {foreach from=$tags item=t}
6
      <a id="tag:{$t->tag}" class="tag{if $t->tag == $tag} selected{/if}" href="{$WWWROOT}tags.php?tag={$t->tag|urlencode}">{$t->tag|escape}&nbsp;<span class="tagfreq">({$t->count})</span></a> 
7
8
  {/foreach}
    </div>
9
{else}
10
11
12
    <div>{str tag=youhavenottaggedanythingyet}</div>
{/if}

13
14
           <h6 id="results_heading"{if !$tag} class="hidden"{/if}>{str tag=searchresultsfor}: <a class="tag" href="{$WWWROOT}tags.php?tag={$tag|urlencode}">{$tag|escape}</a></h4>
           <table id="results" class="tablerenderer fullwidth{if !$tag} hidden{/if}">
15
16
17
18
             <thead>
               <tr><th></th><th></th><th></th></tr>
             </thead>
             <tbody>
19
{if !empty($results->data)}
20
              {$results->tablerows}
21
{/if}
22
23
24
25
26
             </tbody>
           </table>
           {$results->pagination}

{include file="footer.tpl"}