source: trunk/template-extension/distributed/samples/titling_categories.tpl @ 2549

Last change on this file since 2549 was 2549, checked in by vdigital, 16 years ago

Extend_for_templates include slideshow.tpl overides.
menubar.tpl is no longer supported by Extend_for_templates.
Titling_categories.tpl was in error (Wrong recent icon var)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1{*
2
3   Copied from mainpage_categories.tpl
4
5*}
6{if !empty($category_thumbnails)}
7  {html_head}
8<style media="screen,handheld,projection,tv" type="text/css">
9#content ul.thumbnailCategories li {ldelim} width:100%; }
10#Titling h3 {ldelim} margin:11px 0 -13px; padding:0 3px 0 20px; text-align:left; }
11#Titling h3 a {ldelim} background-color: #222; padding: 0 10px; }
12#content ul.thumbnailCategories .unbordered {ldelim} width:49%; float:left; margin:0 0 0 5px;}
13</style>
14  {/html_head}
15  <ul class="thumbnailCategories" id="Titling"> {*                   1st difference: Titling/thumbnail *}
16    {foreach from=$category_thumbnails item=cat}
17    <div class="unbordered"> {*                                                   W3C HTML non conform *}
18    <h3> {*                                               2nd difference: h3 is outside of description *}
19      <a href="{$cat.URL}">{$cat.NAME}</a>{$cat.ICON_TS}
20    </h3>
21    <li>
22      <div class="thumbnailCategory">
23       <div class="illustration">
24          <a href="{$cat.URL}">
25            <img src="{$cat.TN_SRC}" alt="{$cat.ALT}"
26            title="{'hint_category'|@translate}">
27          </a>
28        </div>
29        <div class="description">
30          <div class="text">
31                                {if isset($cat.INFO_DATES) }
32                                <p class="dates">{$cat.INFO_DATES}</p>
33                                {/if}
34                                <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
35                                {if not empty($cat.DESCRIPTION)}
36                                <p>{$cat.DESCRIPTION}</p>
37                                {/if}
38          </div>
39        </div>
40      </div>
41    </li>
42    </div>   
43    {/foreach}
44  </ul>
45{/if}
Note: See TracBrowser for help on using the repository browser.