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

Last change on this file since 11346 was 11346, checked in by tearran, 13 years ago
File size: 992 bytes
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<div class="padding">
6<table >
7 <tr >
8    <td width="96" class="padding">
9        <a href="{$cat.URL}">
10                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
11                        </a>
12<center>
13<a href="{$cat.URL}">{$cat.NAME}</a>
14{if !empty($cat.icon_ts)}
15<img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
16{/if}
17
18</center>
19        </td>
20    {if not empty($cat.DESCRIPTION)}
21    <td class="padding" id="des_m_p">
22        <div id="scroll" class="text">
23                        <p>{$cat.DESCRIPTION}</p>
24                </div>
25
26        {else}
27    <td class="padding" id="cat_box">
28        <div id="scroll_1" class="text">
29                        <p></p>                         
30                </div>
31        </div>
32         {/if}
33</td>
34</tr>
35 
36</table>
37
38</div>
39
40        </li>
41{/foreach}
42</ul>
Note: See TracBrowser for help on using the repository browser.