Skip to content

Commit

Permalink
More consistency when printing editing stuff in section
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 2, 2003
1 parent 6af88ac commit a44d18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/lib.php
Expand Up @@ -491,7 +491,7 @@ function print_section_block($heading, $course, $section, $mods, $modnames, $mod
$moddata[] = "<a title=\"$mod->modfullname\" href=\"$CFG->wwwroot/mod/$mod->modname/view.php?id=$mod->id\">$instancename</a><BR>$editbuttons";
}
}
if (isediting($course->id)) {
if ($isediting) {
$editmenu = popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=0&add=",
$modnames, "section0", "", get_string("add")."...", "mods", get_string("activities"), true);
$editmenu = "<DIV ALIGN=right>$editmenu</DIV>";
Expand Down

0 comments on commit a44d18e

Please sign in to comment.