From 3c6f7a782894bb04eba041693efd2d877dc7e79f Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 25 Sep 2006 08:33:10 +0000 Subject: [PATCH] Remove size=X from admin settings (do it in CSS) --- lib/adminlib.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/adminlib.php b/lib/adminlib.php index ede360bc89..438a09f00e 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -1340,7 +1340,7 @@ class admin_setting_configtext extends admin_setting { $current = $this->get_setting(); } return format_admin_setting('text', $this->name, $this->visiblename, - '', + '', $this->description); } @@ -1372,7 +1372,7 @@ class admin_setting_configcheckbox extends admin_setting { $current = $this->get_setting(); } return format_admin_setting('checkbox', $this->name, $this->visiblename, - '', + '', $this->description); } @@ -1828,16 +1828,16 @@ class admin_setting_special_editorfontlist extends admin_setting { $return = ''; for ($i = 0; $i < count($currentsetting) / 2; $i++) { - $return .= ''; + $return .= ''; $return .= '  '; - $return .= '
'; + $return .= '
'; } - $return .= ''; + $return .= ''; $return .= '  '; - $return .= '
'; - $return .= ''; + $return .= '
'; + $return .= ''; $return .= '  '; - $return .= ''; + $return .= ''; return format_admin_setting('editorfontlist', $this->name, $this->visiblename, $return, $this->description); } @@ -2308,7 +2308,7 @@ class admin_setting_special_perfdebug extends admin_setting_configcheckbox { $currentsetting = $this->get_setting(); } - $return = ''; + $return = ''; return format_admin_setting('checkbox', $this->name, $this->visiblename, $return, $this->description); } -- 2.39.5