aboutsummaryrefslogtreecommitdiff
path: root/mod/test
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 12:02:05 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-11 12:02:05 +0000
commitfb24a0743e9f011b2e03c8a13f46cae901241cab (patch)
tree998012a6d0713f0fedad0743964c385785c65212 /mod/test
parent5439b47c5f96b4e88661aa2ca63e1cee1e259b11 (diff)
downloadelgg-fb24a0743e9f011b2e03c8a13f46cae901241cab.tar.gz
elgg-fb24a0743e9f011b2e03c8a13f46cae901241cab.tar.bz2
Initial test plugin menu items
git-svn-id: https://code.elgg.org/elgg/trunk@156 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/test')
-rw-r--r--mod/test/start.php5
1 files changed, 5 insertions, 0 deletions
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