Skip to content

Commit

Permalink
closed some <input>s
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Sep 16, 2004
1 parent dfeaa00 commit ad954fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/weblib.php
Expand Up @@ -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";
}


Expand Down Expand Up @@ -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=\"&lt;\"></form>";
"<input type=\"hidden\" name=\"id\" value=\"$backmod->cm\" />".
"<input type=\"submit\" value=\"&lt;\" /></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=\"&gt;\"></form>";
"<input type=\"hidden\" name=\"id\" value=\"$nextmod->cm\" />".
"<input type=\"submit\" value=\"&gt;\" /></form>";
}
return "<table><tr>$logslink<td>$backmod</td><td>" .
popup_form("$CFG->wwwroot/mod/", $menu, "navmenu", $selected, $strjumpto,
Expand Down

0 comments on commit ad954fc

Please sign in to comment.