mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-8690 fixed regression in notice_yesno
This commit is contained in:
parent
c718dd57ba
commit
6ebb7659fd
@ -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) .'" />';
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user