aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-22 11:26:10 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-22 11:26:10 +0000
commit48aa7f582191b39bc4b94fd2b2fc7a57523b95af (patch)
treeda432c583b2b86d8cb3c864adae2c14dfede1a37 /plugins
parent195c0b47730708f6cb4b1506d0f432565a762ef1 (diff)
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
Diffstat (limited to 'plugins')
-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 85d5bb1e3..d3e351db4 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>