From b352f8a4dc13bad0c3645ff8ad042b1458f54ede Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 6 Nov 2008 01:19:55 +0000 Subject: [PATCH] merge -c2831 from branch 2.0 to trunk - remove some unnecessary modifiers from template - it should be somehow faster (arguably though) git-svn-id: http://piwigo.org/svn/trunk@2832 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/menubar.tpl | 2 +- template/yoga/menubar_links.tpl | 2 +- template/yoga/thumbnails.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index 97857d4f0..99cac9b6d 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -6,7 +6,7 @@ {if not empty($block->template)} {include file=$block->template|@get_extent:$id } {else} - {$block->raw_content|@default} + {$block->raw_content} {/if} {/if} diff --git a/template/yoga/menubar_links.tpl b/template/yoga/menubar_links.tpl index eaef54afe..9f521f6b1 100644 --- a/template/yoga/menubar_links.tpl +++ b/template/yoga/menubar_links.tpl @@ -4,7 +4,7 @@ {foreach from=$block->data item=link}
  • {$link.LABEL} diff --git a/template/yoga/thumbnails.tpl b/template/yoga/thumbnails.tpl index 66829ecec..80f9d7472 100644 --- a/template/yoga/thumbnails.tpl +++ b/template/yoga/thumbnails.tpl @@ -11,7 +11,7 @@ - {$thumbnail.NAME|@default} + {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} {$thumbnail.ICON_TS} {if isset($thumbnail.NB_COMMENTS)}