]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8690 fixed regression in notice_yesno
authorskodak <skodak>
Fri, 2 Mar 2007 19:57:24 +0000 (19:57 +0000)
committerskodak <skodak>
Fri, 2 Mar 2007 19:57:24 +0000 (19:57 +0000)
lib/weblib.php
theme/standard/styles_layout.css

index 95b78d978db5e81a81dc11659ba4ede246c170ef..9a0dde057bc77c7aeb9c91421cbe2d78dea42a0b 100644 (file)
@@ -3059,7 +3059,7 @@ function print_single_button($link, $options, $label='OK', $method='get', $targe
     $output .= '<div class="singlebutton">';
     // taking target out, will need to add later target="'.$target.'"
     $output .= '<form action="'. $link .'" method="'. $method .'">';   
-    $output .= '<fieldset class="invisiblefieldset">';
+    $output .= '<div>';
     if ($options) {
         foreach ($options as $name => $value) {
             $output .= '<input type="hidden" name="'. $name .'" value="'. s($value) .'" />';
index 861bc70866ed973124148e2da21a596094855ae8..fd4d9302889b8af0389543b1e6bf6a5bea8130de 100644 (file)
@@ -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;