diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-09-10 01:16:13 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-09-10 01:16:13 +0000 |
commit | 6ddb20d6f096fa51b5e820e1b2e19e93f4df0253 (patch) | |
tree | 20cf82c77918e07c30f92e3764fa58f9f60a1541 /template/yoga/mainpage_categories.tpl | |
parent | d6b39bb4e127ab29beecb6793de7f72ce2a36397 (diff) |
- fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
- normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now)
git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/mainpage_categories.tpl')
-rw-r--r-- | template/yoga/mainpage_categories.tpl | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl index b28c619fb..226a82c05 100644 --- a/template/yoga/mainpage_categories.tpl +++ b/template/yoga/mainpage_categories.tpl @@ -1,27 +1,29 @@ {* $Id$ *} <ul class="thumbnailCategories"> - {foreach from=$category_thumbnails item=cat} - <li> - <div class="thumbnailCategory"> - <div class="illustration"> - <a href="{$cat.URL}"> - <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}"> - </a> - </div> - <div class="description"> - <h3> - <a href="{$cat.URL}">{$cat.NAME}</a> - {$cat.ICON} - </h3> - {if isset($cat.INFO_DATES) } - <p>{$cat.INFO_DATES}</p> - {/if} - <p>{$cat.CAPTION_NB_IMAGES}</p> - <p>{$cat.DESCRIPTION}</p> - </div> - </div> - </li> - {/foreach} +{foreach from=$category_thumbnails item=cat} + <li> + <div class="thumbnailCategory"> + <div class="illustration"> + <a href="{$cat.URL}"> + <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{'hint_category'|@translate}"> + </a> + </div> + <div class="description"> + <h3> + <a href="{$cat.URL}">{$cat.NAME}</a> + {$cat.ICON_TS} + </h3> + {if isset($cat.INFO_DATES) } + <p>{$cat.INFO_DATES}</p> + {/if} + <p>{$cat.CAPTION_NB_IMAGES}</p> + {if not empty($cat.DESCRIPTION)} + <p>{$cat.DESCRIPTION}</p> + {/if} + </div> + </div> + </li> +{/foreach} </ul> |