From 5f3da0717b0b8843a4ea153d3318dfcc13b91767 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 8 Sep 2014 18:19:42 +0400 Subject: [PATCH] Better styles for editsettings.cgi page --- .../en/default/admin/settings/edit.html.tmpl | 78 +++++++++---------- 1 file changed, 35 insertions(+), 43 deletions(-) diff --git a/template/en/default/admin/settings/edit.html.tmpl b/template/en/default/admin/settings/edit.html.tmpl index df1cce5f0..73138b125 100644 --- a/template/en/default/admin/settings/edit.html.tmpl +++ b/template/en/default/admin/settings/edit.html.tmpl @@ -42,55 +42,47 @@ and will be allowed to choose their own value if they desire.
If it is not checked, this preference will not appear on the User Preference page, and the Default Value will automatically apply to everyone.

-
+ +
[% IF settings.size %] -
- - - - - - - - [% FOREACH name = settings.keys %] - [% checkbox_name = name _ '-enabled' %] - - - - - - [% END %] -
Preference TextDefault ValueEnabled
- [% lc_messages.setting_descs.$name OR name FILTER html %] - - - - -
-
- - - + - - + + + + [% FOREACH name = settings.keys.sort %] + [% checkbox_name = name _ '-enabled' %] + + + + + + [% END %] +
- - EnabledPreference TextDefault Value
+ + + [% lc_messages.setting_descs.$name OR name | html %] + + +
+ +
- + +
[% ELSE %] There are no preferences to edit.