mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Some changes for XHTML and accessibility compliance
This commit is contained in:
parent
857e46c39a
commit
72b4e28353
3 changed files with 14 additions and 5 deletions
|
@ -103,7 +103,7 @@
|
|||
|
||||
if ($course->category) {
|
||||
print_header("$course->shortname: $discussion->name", "$course->fullname",
|
||||
"<a href=../../course/view.php?id=$course->id>$course->shortname</a> ->
|
||||
"<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->
|
||||
$navmiddle -> $navtail", "", "", true, $searchform, navmenu($course, $cm));
|
||||
} else {
|
||||
print_header("$course->shortname: $discussion->name", "$course->fullname",
|
||||
|
|
|
@ -1816,7 +1816,7 @@ function forum_print_search_form($course, $search="", $return=false, $type="") {
|
|||
$output = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td nowrap=\"nowrap\">";
|
||||
$output .= "<form name=\"search\" action=\"$CFG->wwwroot/mod/forum/search.php\">";
|
||||
$output .= "<font size=\"-1\">";
|
||||
$output .= "<input name=\"search\" type=\"text\" size=\"15\" value=\"$search\" />";
|
||||
$output .= "<input name=\"search\" type=\"text\" size=\"15\" value=\"$search\" alt=\"search\" />";
|
||||
$output .= "<input value=\"".get_string("searchforums", "forum")."\" type=\"submit\" />";
|
||||
$output .= "</font>";
|
||||
$output .= "<input name=\"id\" type=\"hidden\" value=\"$course->id\" />";
|
||||
|
@ -1826,7 +1826,7 @@ function forum_print_search_form($course, $search="", $return=false, $type="") {
|
|||
$output = "<table border=\"0\" cellpadding=\"10\" cellspacing=\"0\"><tr><td align=\"center\">";
|
||||
$output .= "<form name=\"search\" action=\"$CFG->wwwroot/mod/forum/search.php\">";
|
||||
$output .= "<font size=\"-1\">";
|
||||
$output .= "<input name=\"search\" type=\"text\" size=\"15\" value=\"$search\" /><br />";
|
||||
$output .= "<input name=\"search\" type=\"text\" size=\"15\" value=\"$search\" alt=\"search\" /><br />";
|
||||
$output .= "<input value=\"".get_string("searchforums", "forum")."\" type=\"submit\" />";
|
||||
$output .= "</font>";
|
||||
$output .= "<input name=\"id\" type=\"hidden\" value=\"$course->id\" />";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue