From 203fe955aa5da8a6d93b696fc1502f1b4457ed12 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Thu, 7 Feb 2013 13:34:41 +0100 Subject: [PATCH] Added more proper headlines for markup/layout consistency. --- include/admin/tpl/configuration.inc.tpl | 2 ++ include/admin/tpl/entries.inc.tpl | 1 - include/admin/tpl/personal.inc.tpl | 1 + templates/2k11/admin/style.css | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/admin/tpl/configuration.inc.tpl b/include/admin/tpl/configuration.inc.tpl index 18f13fa1..716831b2 100644 --- a/include/admin/tpl/configuration.inc.tpl +++ b/include/admin/tpl/configuration.inc.tpl @@ -21,5 +21,7 @@ {$CONST.WRITTEN_N_SAVED} {/if} {else} +

{$CONST.CONFIGURATION}

+ {$config|replace:'class="form_string"':'class="form_field"'|replace:'class="form_fullprotected"':'class="form_field"'|replace:'class="form_list"':'class="form_select"'|replace:'class="form_int"':'class="form_field"'} {/if} diff --git a/include/admin/tpl/entries.inc.tpl b/include/admin/tpl/entries.inc.tpl index 6d7bf1fb..b53885b3 100644 --- a/include/admin/tpl/entries.inc.tpl +++ b/include/admin/tpl/entries.inc.tpl @@ -1,7 +1,6 @@ {* HTML5: Yes *} {* jQuery: No *} -

{$CONST.EDIT_ENTRIES}

{if $drawList}
diff --git a/include/admin/tpl/personal.inc.tpl b/include/admin/tpl/personal.inc.tpl index 55a42ef6..68eecc46 100644 --- a/include/admin/tpl/personal.inc.tpl +++ b/include/admin/tpl/personal.inc.tpl @@ -1,6 +1,7 @@ {* HTML5: Yes *} {* jQuery: NN *} +

{$CONST.PERSONAL_SETTINGS}

{if $adminAction == 'save'} {if $not_authorized} {$CONST.CREATE_NOT_AUTHORIZED_USERLEVEL} diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 22f55fbe..0bb00a73 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -1150,7 +1150,8 @@ fieldset p, .editor_toolbar input { margin: 0 .25em .75em 0; } .comment_data, -.configuration_group h3 { margin-top: 0; } +.configuration_group h3, +form > .button_link:first-of-type { margin-top: 0; } .configuration_group > fieldset { margin-bottom: 1.5em; }