source: extensions/PaysonsPlaces/template/mainpage_categories.tpl @ 16859

Last change on this file since 16859 was 11378, checked in by tearran, 13 years ago
File size: 1.1 KB
Line 
1<link rel="stylesheet" type="text/css" href="../theme.css">
2<ul class="thumbnailCategories">
3{foreach from=$category_thumbnails item=cat}
4        <li>
5
6<fieldset>      
7                <legend>
8                <a href="{$cat.URL}">{$cat.NAME}</a>
9                {if !empty($cat.icon_ts)}
10                        <img src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)" width="44" height="18" title="{$cat.icon_ts.TITLE}" />
11                {else}
12        <spacer width="44" height="18">&nbsp;</spacer>
13        {/if}
14        </legend>
15
16<table >
17 <tr >
18    <td class="padding">
19        <a href="{$cat.URL}">
20                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
21                        </a>
22        </td>
23{if not empty($cat.DESCRIPTION)}
24    <td class="padding" id="des_m_p">
25        <div id="scroll" class="text">
26                        <p>{$cat.DESCRIPTION}</p>
27                </div>
28
29        {else}
30    <td class="padding" id="cat_box">
31        <div id="scroll" class="text">
32                        <p>&nbsp;</p>
33                </div>
34        </div>
35{/if}
36        </td>
37</tr>
38 
39</table>
40</fieldset>     
41
42</li>
43{/foreach}
44</ul>
Note: See TracBrowser for help on using the repository browser.