aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/header.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/header.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 '')
-rw-r--r--template/yoga/header.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 668d7c505..abe063799 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -6,13 +6,13 @@
<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
{if isset($meta_ref) }
{if isset($INFO_AUTHOR)}
-<meta name="author" content="{$INFO_AUTHOR|replace:'"':' '}">
+<meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}">
{/if}
{if isset($related_tags)}
<meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
{/if}
{if isset($COMMENT_IMG)}
-<meta name="description" content="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
+<meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
{else}
<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
{/if}