merge r8224 from branch 2.1 to trunk

bug 1338: notice fixed in LocalFiles Editor when debug_template is activated.

git-svn-id: http://piwigo.org/svn/trunk@8225 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2010-12-22 11:26:10 +00:00
parent 195c0b4773
commit 48aa7f5821

View file

@ -63,12 +63,14 @@ function unloadEditarea() {ldelim}
{/if}
{/if}
{if !empty($show_default)}
{foreach from=$show_default item=file name=default_loop}
<span class="top_right">
<a href="{$file.SHOW_DEFAULT}" onclick="window.open( this.href, 'local_file', 'location=no,toolbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes,width=800,height=600' ); return false;">{'locfiledit_show_default'|@translate} "{$file.FILE}"</a>
</span>
{if !($smarty.foreach.default_loop.last)}<br>{/if}
{/foreach}
{/if}
{if isset ($zone_edit)}
<b>{$zone_edit.FILE_NAME}</b>