diff --git a/include/admin/tpl/configuration.inc.tpl b/include/admin/tpl/configuration.inc.tpl index 69cdc2cf..f234c17c 100644 --- a/include/admin/tpl/configuration.inc.tpl +++ b/include/admin/tpl/configuration.inc.tpl @@ -21,5 +21,5 @@ {$CONST.WRITTEN_N_SAVED} {/if} {else} - {$config|replace:'class="form_string"':'class="form_field"'|replace:'class="form_fullprotected"':'class="form_field"'|replace:'class="form_bool"':'class="form_radio"'|replace:'class="form_list"':'class="form_select"'} + {$config|replace:'class="form_string"':'class="form_field"'|replace:'class="form_fullprotected"':'class="form_field"'|replace:'class="form_list"':'class="form_select"'} {/if} diff --git a/include/admin/tpl/personal.inc.tpl b/include/admin/tpl/personal.inc.tpl index c31c7697..55a42ef6 100644 --- a/include/admin/tpl/personal.inc.tpl +++ b/include/admin/tpl/personal.inc.tpl @@ -14,7 +14,7 @@ {/if}
{$formToken} - {$config|replace:'class="form_string"':'class="form_field"'|replace:'class="form_fullprotected"':'class="form_field"'|replace:'class="form_bool"':'class="form_radio"'|replace:'class="form_list"':'class="form_select"'} + {$config|replace:'class="form_string"':'class="form_field"'|replace:'class="form_fullprotected"':'class="form_field"'|replace:'class="form_list"':'class="form_select"'}
diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index a322affa..8c27a8f4 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -400,12 +400,14 @@ function serendipity_guessInput($type, $name, $value='', $default='') { } echo '
'; echo ''; + echo (($value == true) ? 'checked="checked"' : ''). ' /> + '; echo '
'; echo '
'; echo ''; + echo (($value == true) ? '' : 'checked="checked"'). ' /> + '; echo '
'; break; @@ -585,9 +587,11 @@ function serendipity_printConfigTemplate($config, $from = false, $noForm = false '. $item['title'] .' '. $item['description'] .' - '; + +
'; serendipity_guessInput($item['type'], $item['var'], $value, $item['default']); - echo ''; + echo '
+ '; } else { echo '
'; diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 13db6931..840fc1a4 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -429,6 +429,7 @@ form > a, .block_level, .form_multiselect label, label > span, +legend > span > span, #back_to_blog, #meta small, .msg_error, @@ -781,6 +782,7 @@ legend > span, figcaption { font-weight: bold; } label > span, +legend>span>span, input[type=checkbox] + label, input[type=radio] + label, .form_check label { font-weight: normal; } @@ -1351,13 +1353,11 @@ fieldset p, .configuration_group .form_select, .configuration_group .form_field, - .configuration_group .form_radio, #template_select .odd, .media_pane .odd { clear: left; } .configuration_group .form_select, .configuration_group .form_field, - .configuration_group .form_radio, #serendipityScaleImg, .media_file header { overflow: hidden; }