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

git-svn-id: http://piwigo.org/svn/branches/2.1@8224 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2010-12-22 11:24:58 +00:00
parent 7f08759357
commit 8f2db172ca

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>