diff options
author | Sashi20 | 2021-06-14 11:28:24 +0530 |
---|---|---|
committer | Sashi20 | 2021-06-14 11:28:24 +0530 |
commit | 74d0e93a51b573481b659e039402ce4432203007 (patch) | |
tree | b085fe2741d0ce11eeeef70000718aecd896d480 | |
parent | 6a0010588cf4d5ab9d309315144def508b9b39d0 (diff) | |
download | scilab_testimonials-74d0e93a51b573481b659e039402ce4432203007.tar.gz scilab_testimonials-74d0e93a51b573481b659e039402ce4432203007.tar.bz2 scilab_testimonials-74d0e93a51b573481b659e039402ce4432203007.zip |
Enable link to show all testimonial tabs
-rwxr-xr-x | scilab_testimonials.module | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scilab_testimonials.module b/scilab_testimonials.module index 0b516d5..4f363d6 100755 --- a/scilab_testimonials.module +++ b/scilab_testimonials.module @@ -2,31 +2,31 @@ function scilab_testimonials_menu() { $items = array(); - //$items["testimonials"] = array( - // "title" => "Testimonials", - // "page callback" => "scilab_testimonials_display_all", - // "access arguments" => array("view testimonials"), - // "type" => MENU_CALLBACK, - //); + $items["testimonials"] = array( + "title" => "Testimonials", + "page callback" => "scilab_testimonials_display_all", + "access arguments" => array("view testimonials"), + //"type" => MENU_CALLBACK, + ); $items["testimonials/textbook-companion"] = array( "title" => "Textbook Companion", "page callback" => "scilab_testimonials_display_tbc", "access arguments" => array("view testimonials"), - "type" => MENU_CALLBACK, + "type" => MENU_LOCAL_TASK, "weight" => 0, ); $items["testimonials/lab-migration"] = array( "title" => "Lab Migration", "page callback" => "scilab_testimonials_display_lm", "access arguments" => array("view testimonials"), - "type" => MENU_CALLBACK, + "type" => MENU_LOCAL_TASK, "weight" => 1, ); $items["testimonials/hackathon"] = array( "title" => "Scilab Toolbox Hackathon", "page callback" => "scilab_testimonials_display_hackathon", "access arguments" => array("view testimonials"), - "type" => MENU_CALLBACK, + "type" => MENU_LOCAL_TASK, "weight" => 2, ); $items["testimonials/add"] = array( |