MDL-8690 fixed regression in notice_yesno ; backported from HEAD

This commit is contained in:
skodak
2007-03-02 20:00:36 +00:00
parent cc00f2763f
commit 718ffbfb63
2 changed files with 15 additions and 6 deletions
+1 -1
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) .'" />';
+14 -5
View File
@@ -188,13 +188,20 @@ img.grouppicture {
margin-right:auto;
}
#notice .buttons .singlebutton {
display:inline;
#notice .buttons {
text-align:center
}
#notice .buttons div,
#notice .buttons form {
display:inline;
}
#notice .singlebutton {
text-align:center;
padding: 5px;
}
.errorbox {
border-width:1px;
border-style:solid;
@@ -503,7 +510,7 @@ form#adminsettings div.htmlarea {
}
.mform label .req, .mform label .adv {
cursor: help;
cursor: help;
}
#admin-register form.mform .fsubmit {
@@ -1071,7 +1078,7 @@ a.skip-block, .skip-block {
}
.sideblock .content .inline-list li {
display: inline;
display:inline;
}
.sideblock .content ul.list li.listentry {
@@ -2527,7 +2534,9 @@ body#user-index .rolesform {
.defaulttemplate {
text-align:center;
}
.datapreferences {
text-align:center;
}
/***
*** Modules: Forum
***/