Added generalbox to noticebox on notices - bug 5082

This commit is contained in:
moodler
2006-04-10 08:27:53 +00:00
parent 315e4e83f9
commit 21e2acab15
+2 -2
View File
@@ -4138,7 +4138,7 @@ function notice ($message, $link='') {
}
echo '<br />';
print_simple_box($message, 'center', '50%', '', '20', 'noticebox');
print_simple_box($message, 'center', '50%', '', '20', 'generalbox noticebox');
print_continue($link);
print_footer(get_site());
die;
@@ -4159,7 +4159,7 @@ function notice_yesno ($message, $linkyes, $linkno) {
$linkyes = clean_text($linkyes);
$linkno = clean_text($linkno);
print_simple_box_start('center', '60%', '', 5, 'noticebox', 'notice');
print_simple_box_start('center', '60%', '', 5, 'generalbox noticebox', 'notice');
echo '<p align="center">'. $message .'</p>';
echo '<table align="center" cellpadding="20"><tr><td>';
print_single_button($linkyes, NULL, get_string('yes'), 'post', $CFG->framename);