From ff5b60a215769bcf046bb9109b61ffe6af0ca5eb Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 12 Feb 2013 10:01:46 +0000 Subject: bug 2844: increase security on LocalFiles Editor, filter on files to edit. git-svn-id: http://piwigo.org/svn/branches/2.4@20712 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/LocalFilesEditor/template/admin.tpl | 31 +++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'plugins/LocalFilesEditor/template/admin.tpl') diff --git a/plugins/LocalFilesEditor/template/admin.tpl b/plugins/LocalFilesEditor/template/admin.tpl index 00be8a017..23a5d1975 100644 --- a/plugins/LocalFilesEditor/template/admin.tpl +++ b/plugins/LocalFilesEditor/template/admin.tpl @@ -30,7 +30,18 @@ if (document.getElementById("text") != null)
- +{if isset($theme)} + +{/if} + +{if isset($language)} + +{/if} + +{if isset($template)} + +{/if} + {if isset ($create_tpl)} @@ -52,20 +63,18 @@ if (document.getElementById("text") != null) {/if} {if isset ($css_lang_tpl)} - +{html_options options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED} -

- {if isset ($css_lang_tpl.NEW_FILE_URL)} - - {'locfiledit_new_tpl'|@translate} - - {/if} +{/if} + +{if isset ($css_lang_tpl.NEW_FILE_URL)} + +{'locfiledit_new_tpl'|@translate} + {/if} {if isset ($zone_edit)} -- cgit v1.2.3