Ignore:
Timestamp:
Jun 14, 2011, 12:03:09 PM (13 years ago)
Author:
plg
Message:

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]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/LocalFilesEditor/template/admin.tpl

    r10348 r11362  
    5353
    5454{if isset ($css_lang_tpl)}
    55 {html_options name=file_to_edit options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED}
     55<select name="file_to_edit">
     56{foreach from=$css_lang_tpl.OPTIONS item=theme key=value}
     57  <option value="{$value}" {if $value == $css_lang_tpl.SELECTED}selected="selected"{/if} {if is_numeric($value)}disabled="disabled"{/if}>{$theme}</option>
     58{/foreach}
     59</select>
     60
     61
    5662<input class="submit" type="submit" value="{'locfiledit_edit'|@translate}" name="edit" />
    5763<br><br>
Note: See TracChangeset for help on using the changeset viewer.