From: moodler Date: Mon, 26 Jul 2004 16:22:45 +0000 (+0000) Subject: Fix menu on site page section for new resources X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=720754da9e985682543818ada76405ee63f40148;p=moodle.git Fix menu on site page section for new resources --- diff --git a/index.php b/index.php index b642bc1cd6..2d8398274c 100644 --- a/index.php +++ b/index.php @@ -192,10 +192,7 @@ print_section($site, $section, $mods, $modnamesused, true); if ($editing) { - echo "
"; - popup_form("$CFG->wwwroot/course/mod.php?id=$site->id&section=$section->section&add=", - $modnames, "section", "", get_string('add').'...', "mods", get_string('activities')); - echo "
"; + print_section_add_menus($site, $section->section, $modnames); } print_simple_box_end(); print_spacer(10);