From 6ebb7659fd35ee0a168026021a7b18dd1236c700 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 2 Mar 2007 19:57:24 +0000 Subject: [PATCH] MDL-8690 fixed regression in notice_yesno --- lib/weblib.php | 2 +- theme/standard/styles_layout.css | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 95b78d978d..9a0dde057b 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3059,7 +3059,7 @@ function print_single_button($link, $options, $label='OK', $method='get', $targe $output .= '
'; // taking target out, will need to add later target="'.$target.'" $output .= '
'; - $output .= '
'; + $output .= '
'; if ($options) { foreach ($options as $name => $value) { $output .= ''; diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 861bc70866..fd4d930288 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -192,13 +192,16 @@ img.grouppicture { text-align:center } -#notice .buttons .singlebutton { - display:inline; -} +#notice .buttons div, #notice .buttons form { display:inline; } +#notice .singlebutton { + text-align:center; + padding: 5px; +} + .errorbox { border-width:1px; border-style:solid; -- 2.39.5