mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
replacing fieldsets with divs for small forms
This commit is contained in:
parent
635bb616fa
commit
66c574c908
@ -24,10 +24,10 @@
|
||||
if (has_capability('moodle/question:manage', $coursecontext)) {
|
||||
$streditquestions =
|
||||
"<form target=\"_parent\" method=\"get\" action=\"$CFG->wwwroot/question/edit.php\">
|
||||
<fieldset class=\"invisiblefieldset\">
|
||||
<div>
|
||||
<input type=\"hidden\" name=\"courseid\" value=\"$course->id\" />
|
||||
<input type=\"submit\" value=\"".get_string("editquestions", "quiz")."\" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>";
|
||||
}
|
||||
print_header_simple($strquizzes, '', $strquizzes,
|
||||
|
@ -32,9 +32,9 @@ var ec_quiz_finish = ec_page_start + <?php echo ($timerstartvalue * 1000); ?>;
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="QuizTimer" class="generaltablecell" align="center" width="100%">
|
||||
<form id="clock"><fieldset class="invisiblefieldset"><input onfocus="blur()" type="text" id="time"
|
||||
<form id="clock"><div><input onfocus="blur()" type="text" id="time"
|
||||
style="background-color: transparent; border: none; width: 70%; font-family: sans-serif; font-size: 14pt; font-weight: bold; text-align: center;" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -68,11 +68,11 @@ class page_quiz extends page_generic_activity {
|
||||
update_module_button($this->modulerecord->id, $this->courserecord->id, get_string('modulename', 'quiz')).'</td>';
|
||||
if(!empty($CFG->showblocksonmodpages)) {
|
||||
$buttons .= '<td><form '.$CFG->frametarget.' method="get" action="view.php">'.
|
||||
'<fieldset class="invisiblefieldset">'.
|
||||
'<div>'.
|
||||
'<input type="hidden" name="id" value="'.$this->modulerecord->id.'" />'.
|
||||
'<input type="hidden" name="edit" value="'.($this->user_is_editing()?'off':'on').'" />'.
|
||||
'<input type="submit" value="'.get_string($this->user_is_editing()?'blockseditoff':'blocksediton').'" />'.
|
||||
'</fieldset></form></td>';
|
||||
'</div></form></td>';
|
||||
}
|
||||
$buttons .= '</tr></table>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user