aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture_content.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-02-04 02:30:48 +0000
committerrvelices <rv-github@modusoptimus.com>2009-02-04 02:30:48 +0000
commit06bccdfcc344d25aca27e59250dd93ba95929974 (patch)
tree769ac1fa6ee5e564cd0abb745a2d94643155ba5e /template/yoga/picture_content.tpl
parent5c001820a1ef870405542750ee61fefc9c1aa747 (diff)
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/trunk@3120 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/picture_content.tpl')
-rw-r--r--template/yoga/picture_content.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/yoga/picture_content.tpl b/template/yoga/picture_content.tpl
index b6e148fdd..dcf0f6d24 100644
--- a/template/yoga/picture_content.tpl
+++ b/template/yoga/picture_content.tpl
@@ -4,7 +4,7 @@
{/if}
<img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
{if isset($COMMENT_IMG)}
- title="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}" {else} title="{$current.TITLE|replace:'"':' '} - {$ALT_IMG}"
+ title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
{/if}>
{if isset($high) }
</a>