echo '<table border="0" style="width:100%" cellpadding="2" cellspacing="0">';
echo '<tr><td style="width:50%" valign="top">';
- print_simple_box_start("center", "100%");
+ print_simple_box_start();
$sumgrades = quiz_print_question_list($modform, true, $SESSION->quiz_showbreaks, $SESSION->quiz_reordertool);
if (!set_field('quiz', 'sumgrades', $sumgrades, 'id', $modform->instance)) {
echo '<fieldset class="invisiblefieldset">';
echo "<input type=\"hidden\" name=\"sesskey\" value=\"$USER->sesskey\" />";
- print_simple_box_start('center', '100%', '#ffffff', 0);
+ print_simple_box_start();
echo "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" style=\"width:100%;\">\n";
echo "<tr><th colspan=\"3\" style=\"white-space:nowrap;\" class=\"header\" scope=\"col\">$strorder</th>";
echo "<th class=\"header\" scope=\"col\">#</th>";
echo '<form method="post" action="edit.php?courseid='.$course->id.'">';
echo '<fieldset class="invisiblefieldset">';
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
- print_simple_box_start('center', '100%', '#ffffff', 0);
+ print_simple_box_start();
echo '<table id="categoryquestions" cellspacing="0"><tr>';
$actionwidth = $canedit ? 95 : 70;
echo "<th style=\"width:$actionwidth; white-space:nowrap;\" class=\"header\" scope=\"col\">$straction</th>";
// starts with category selection form
if (has_capability('moodle/question:managecategory', $context)) {
- print_simple_box_start("center", "100%");
+ print_simple_box_start();
question_category_form($course, $SESSION->questioncat, $SESSION->questionrecurse, $SESSION->questionshowhidden);
print_simple_box_end();
}
// continues with list of questions
- print_simple_box_start("center", "100%");
+ print_simple_box_start();
question_list($course, $SESSION->questioncat, isset($modform->instance) ? $modform->instance : 0, $SESSION->questionrecurse, $page, $perpage, $SESSION->questionshowhidden, $sortorder);
print_simple_box_end();