aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/template/admin.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-06-14 09:57:29 +0000
committerplegall <plg@piwigo.org>2011-06-14 09:57:29 +0000
commit9aa5d4e79992302cf598cbdecf120e0a90c6428a (patch)
tree78c75687a90ea9dfaba8fc5673e46362032361bf /plugins/LocalFilesEditor/template/admin.tpl
parentb137b4f018e3c9381f02ce645e0fd630c4017ca7 (diff)
bug 2341 fixed: simplified selection for CSS file to edit. We display the list
of themes in the same order as on [Administration > Configuration > Themes] git-svn-id: http://piwigo.org/svn/branches/2.2@11361 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/LocalFilesEditor/template/admin.tpl')
-rw-r--r--plugins/LocalFilesEditor/template/admin.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/LocalFilesEditor/template/admin.tpl b/plugins/LocalFilesEditor/template/admin.tpl
index 1761951d2..00be8a017 100644
--- a/plugins/LocalFilesEditor/template/admin.tpl
+++ b/plugins/LocalFilesEditor/template/admin.tpl
@@ -52,7 +52,13 @@ if (document.getElementById("text") != null)
{/if}
{if isset ($css_lang_tpl)}
-{html_options name=file_to_edit options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED}
+<select name="file_to_edit">
+{foreach from=$css_lang_tpl.OPTIONS item=theme key=value}
+ <option value="{$value}" {if $value == $css_lang_tpl.SELECTED}selected="selected"{/if} {if is_numeric($value)}disabled="disabled"{/if}>{$theme}</option>
+{/foreach}
+</select>
+
+
<input class="submit" type="submit" value="{'locfiledit_edit'|@translate}" name="edit" />
<br><br>
{if isset ($css_lang_tpl.NEW_FILE_URL)}