]> git.mjollnir.org Git - moodle.git/commitdiff
Fix menu on site page section for new resources
authormoodler <moodler>
Mon, 26 Jul 2004 16:22:45 +0000 (16:22 +0000)
committermoodler <moodler>
Mon, 26 Jul 2004 16:22:45 +0000 (16:22 +0000)
index.php

index b642bc1cd60adbbb6c9a4835902299e7a7caf07e..2d8398274cf7c709f186f1849ca5daa5e967e654 100644 (file)
--- a/index.php
+++ b/index.php
         print_section($site, $section, $mods, $modnamesused, true);
 
         if ($editing) {
-            echo "<div align=right>";
-            popup_form("$CFG->wwwroot/course/mod.php?id=$site->id&amp;section=$section->section&add=",
-                        $modnames, "section", "", get_string('add').'...', "mods", get_string('activities'));
-            echo "</div>";
+            print_section_add_menus($site, $section->section, $modnames);
         }
         print_simple_box_end();
         print_spacer(10);