From fb24a0743e9f011b2e03c8a13f46cae901241cab Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 11 Mar 2008 12:02:05 +0000 Subject: Initial test plugin menu items git-svn-id: https://code.elgg.org/elgg/trunk@156 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/test/start.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod/test/start.php b/mod/test/start.php index 2eedf6431..f406b8abb 100644 --- a/mod/test/start.php +++ b/mod/test/start.php @@ -18,6 +18,11 @@ extend_view("pageshell", "testplugin/pageshell"); set_view_location("testplugin/pageshell",$CONFIG->pluginspath . "test/views/"); + // Test menu item + add_menu("Test plugin",$CONFIG->wwwroot . "mod/test/",array( + menu_item("Main test plugin page",$CONFIG->wwwroot."mod/test/"), + )); + } // Make sure test_init is called on initialisation -- cgit v1.2.3