aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-11-06 01:15:23 +0000
committerrvelices <rv-github@modusoptimus.com>2008-11-06 01:15:23 +0000
commit536129a4aa2f223c6b11750f8ca00d3e0e175d1a (patch)
treee8752f6a22f6ca7d6925cec649aabb13abd61343
parent02be99a77fff0656e77e283ec654965cd19789fb (diff)
- remove some unnecessary modifiers from template - it should be somehow faster (arguably though)
git-svn-id: http://piwigo.org/svn/branches/2.0@2831 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar.tpl2
-rw-r--r--template/yoga/menubar_links.tpl2
-rw-r--r--template/yoga/thumbnails.tpl2
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">