diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-11-06 01:19:55 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-11-06 01:19:55 +0000 |
commit | b352f8a4dc13bad0c3645ff8ad042b1458f54ede (patch) | |
tree | 5de2056f0959165a67579c3181572e5bf76285c3 /template/yoga | |
parent | 4a90b522325410cc866f2fad64ce6871a0f655fa (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | template/yoga/menubar.tpl | 2 | ||||
-rw-r--r-- | template/yoga/menubar_links.tpl | 2 | ||||
-rw-r--r-- | 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} </dl> {/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} <li> <a href="{$link.URL}" - {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if} + {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if} > {$link.LABEL} </a> 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 @@ </a> </span> <span class="thumbLegend"> - {$thumbnail.NAME|@default} + {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} {$thumbnail.ICON_TS} {if isset($thumbnail.NB_COMMENTS)} <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |