mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
closed some <input>s
This commit is contained in:
parent
dfeaa008d3
commit
ad954fc574
@ -361,7 +361,7 @@ function button_to_popup_window ($url, $name="popup", $linkname="click here",
|
||||
$fullscreen = 0;
|
||||
|
||||
echo "<input type=\"button\" name=\"popupwindow\" title=\"$title\" value=\"$linkname ...\" ".
|
||||
"onClick=\"return openpopup('$url', '$name', '$options', $fullscreen);\">\n";
|
||||
"onClick=\"return openpopup('$url', '$name', '$options', $fullscreen);\" />\n";
|
||||
}
|
||||
|
||||
|
||||
@ -2086,13 +2086,13 @@ function navmenu($course, $cm=NULL, $targetwindow="self") {
|
||||
}
|
||||
if ($backmod) {
|
||||
$backmod = "<form action=\"$CFG->wwwroot/mod/$backmod->mod/view.php\" target=\"$CFG->framename\">".
|
||||
"<input type=\"hidden\" name=\"id\" value=\"$backmod->cm\">".
|
||||
"<input type=\"submit\" value=\"<\"></form>";
|
||||
"<input type=\"hidden\" name=\"id\" value=\"$backmod->cm\" />".
|
||||
"<input type=\"submit\" value=\"<\" /></form>";
|
||||
}
|
||||
if ($nextmod) {
|
||||
$nextmod = "<form action=\"$CFG->wwwroot/mod/$nextmod->mod/view.php\" target=\"$CFG->framename\">".
|
||||
"<input type=\"hidden\" name=\"id\" value=\"$nextmod->cm\">".
|
||||
"<input type=\"submit\" value=\">\"></form>";
|
||||
"<input type=\"hidden\" name=\"id\" value=\"$nextmod->cm\" />".
|
||||
"<input type=\"submit\" value=\">\" /></form>";
|
||||
}
|
||||
return "<table><tr>$logslink<td>$backmod</td><td>" .
|
||||
popup_form("$CFG->wwwroot/mod/", $menu, "navmenu", $selected, $strjumpto,
|
||||
|
Loading…
x
Reference in New Issue
Block a user