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
This commit is contained in:
rvelices
2008-11-06 01:19:55 +00:00
parent 4a90b52232
commit b352f8a4dc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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">