mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
More tweaks to fix on/off button for admins o ncourse listings
This commit is contained in:
parent
c432fd3213
commit
9b16d1eada
2 changed files with 4 additions and 4 deletions
|
@ -1265,8 +1265,8 @@ function update_category_button($categoryid) {
|
|||
} else {
|
||||
$string = get_string("turneditingon");
|
||||
$edit = "on";
|
||||
}
|
||||
return "<form target=_parent method=get action=\"$CFG->wwwroot/course/category.php\">".
|
||||
}
|
||||
return "<form method=get action=\"$CFG->wwwroot/course/category.php\">".
|
||||
"<input type=hidden name=id value=\"$categoryid\">".
|
||||
"<input type=hidden name=edit value=\"$edit\">".
|
||||
"<input type=submit value=\"$string\"></form>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue