aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mainpage_categories.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-02-04 02:33:50 +0000
committerrvelices <rv-github@modusoptimus.com>2009-02-04 02:33:50 +0000
commit9428613b2da6132ef507e92461535283d48ecdc1 (patch)
tree0e4cbef5443faac056052c20c3197eac82cfd6d1 /template/yoga/mainpage_categories.tpl
parent9a0510c88c16b5617d7714b0e958b0f71f0fd912 (diff)
merge 3120 from trunk
optimizations (php only) - removed unnecessary call to array_unique in get_image_ids_for_tags - put back in smarty exec time counting (debug mode) for each included template - prefix some smarty modifiers with @ in some templates - do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier git-svn-id: http://piwigo.org/svn/branches/2.0@3121 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/mainpage_categories.tpl')
-rw-r--r--template/yoga/mainpage_categories.tpl20
1 files changed, 10 insertions, 10 deletions
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
index e56b637aa..e1cc953ff 100644
--- a/template/yoga/mainpage_categories.tpl
+++ b/template/yoga/mainpage_categories.tpl
@@ -6,7 +6,7 @@
<div class="thumbnailCategory">
<div class="illustration">
<a href="{$cat.URL}">
- <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|replace:'"':' '} - {'hint_category'|@translate}">
+ <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'hint_category'|@translate}">
</a>
</div>
<div class="description">
@@ -14,15 +14,15 @@
<a href="{$cat.URL}">{$cat.NAME}</a>
{$cat.ICON_TS}
</h3>
- <div class="text">
- {if isset($cat.INFO_DATES) }
- <p class="dates">{$cat.INFO_DATES}</p>
- {/if}
- <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
- {if not empty($cat.DESCRIPTION)}
- <p>{$cat.DESCRIPTION}</p>
- {/if}
- </div>
+ <div class="text">
+ {if isset($cat.INFO_DATES) }
+ <p class="dates">{$cat.INFO_DATES}</p>
+ {/if}
+ <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
+ {if not empty($cat.DESCRIPTION)}
+ <p>{$cat.DESCRIPTION}</p>
+ {/if}
+ </div>
</div>
</div>
</li>