Rev | Line | |
---|
[9831] | 1 | {combine_css path="template-extension/flop_style/mainpage_categories/mosaic/mosaic.css"} |
---|
| 2 | {combine_css path="template-extension/flop_style/mainpage_categories/mosaic.css"} |
---|
| 3 | {combine_script id="jquery.mosaic" load="header" path="template-extension/flop_style/mainpage_categories/mosaic/mosaic.1.0.1.min.js"} |
---|
| 4 | {html_head} |
---|
| 5 | {literal} |
---|
| 6 | <script type="text/javascript"> |
---|
| 7 | jQuery(function($){ |
---|
| 8 | $('.bar').mosaic({ |
---|
| 9 | animation : 'slide' |
---|
| 10 | }); |
---|
| 11 | }); |
---|
| 12 | </script> |
---|
| 13 | {/literal} |
---|
| 14 | {/html_head} |
---|
| 15 | <div id="mosaic-content"> {foreach from=$category_thumbnails item=cat} |
---|
| 16 | <div class="mosaic-block bar"> <a href="{$cat.URL}" class="mosaic-overlay"> |
---|
| 17 | <div class="details"> |
---|
| 18 | <h4> {$cat.NAME} |
---|
| 19 | {if !empty($cat.icon_ts)} <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="(!)"> {/if} </h4> |
---|
| 20 | <p>{if isset($cat.INFO_DATES) } |
---|
| 21 | {$cat.INFO_DATES} |
---|
| 22 | {/if} |
---|
| 23 | {$cat.CAPTION_NB_IMAGES} |
---|
| 24 | {if not empty($cat.DESCRIPTION)} |
---|
| 25 | {$cat.DESCRIPTION} |
---|
| 26 | {/if} </p> |
---|
| 27 | </div> |
---|
| 28 | </a> |
---|
| 29 | <div class="mosaic-backdrop"> <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> </div> |
---|
| 30 | </div> |
---|
[9834] | 31 | {/foreach} |
---|
[9831] | 32 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.