aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-22 11:24:58 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-22 11:24:58 +0000
commit8f2db172ca9d484358a849a8eb1baa90602d3f89 (patch)
treecf0b02384377d138f172fcc8223283f96b5ab725
parent7f08759357dd0f4c2fb059fbc3ecbdff42738a05 (diff)
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
Diffstat (limited to '')
-rw-r--r--plugins/LocalFilesEditor/admin.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/LocalFilesEditor/admin.tpl b/plugins/LocalFilesEditor/admin.tpl
index b96890fbd..39b2b6e5d 100644
--- a/plugins/LocalFilesEditor/admin.tpl
+++ b/plugins/LocalFilesEditor/admin.tpl
@@ -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>