mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-09 06:44:56 +02:00
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:
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user