MDL-8690 fixed regression in notice_yesno

This commit is contained in:
skodak 2007-03-02 19:57:24 +00:00
parent c718dd57ba
commit 6ebb7659fd
2 changed files with 7 additions and 4 deletions

View 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) .'" />';

View 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;