aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-06-14 10:03:09 +0000
committerplegall <plg@piwigo.org>2011-06-14 10:03:09 +0000
commit6623e735e81023e321e208ad99e04b727a78e4f7 (patch)
tree1d7dc91b5bd7ba6436b3aecf776e81b5fe2f8266 /plugins/LocalFilesEditor/template
parentc15baed2148df6ff54e8f3f8cdaa4cb82e969dda (diff)
merge r11361 from branch 2.2 to trunk
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/trunk@11362 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/LocalFilesEditor/template')
-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)}