replacing fieldsets with divs in small forms

This commit is contained in:
toyomoyo 2007-03-02 02:16:27 +00:00
parent 602b17e715
commit 5bff81aba6
2 changed files with 4 additions and 4 deletions

View File

@ -383,11 +383,11 @@ class question_category_object {
$this->output_edit_single_table($category,$page);
echo '</td></tr></table>';
echo '<p><div align="center"><form action="category.php" method="get">
<fieldset class="invisiblefieldset">
<div>
<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />
<input type="hidden" name="id" value="' . $this->course->id . '" />
<input type="submit" value="' . $this->str->cancel . '" />
</fieldset>
</div>
</form>
</div></p>';
print_footer($this->course);

View File

@ -131,10 +131,10 @@ function question_category_form($course, $current, $recurse=1, $showhidden=false
popup_form ("edit.php?courseid=$course->id&amp;cat=", $catmenu, "catmenu", $current, "", "", "", false, "self");
echo "</td><td align=\"right\">";
echo "<form method=\"get\" action=\"$CFG->wwwroot/question/category.php\">";
echo "<fieldset class='invisiblefieldset'>";
echo "<div>";
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";
echo "<input type=\"submit\" value=\"$streditcats\" />";
echo '</fieldset>';
echo '</div>';
echo "</form>";
echo '</td></tr></table>';