diff options
author | Sashi20 | 2021-06-14 11:32:18 +0530 |
---|---|---|
committer | GitHub | 2021-06-14 11:32:18 +0530 |
commit | ad97086747d373e00c654fd434f4eb0edbbd4455 (patch) | |
tree | b085fe2741d0ce11eeeef70000718aecd896d480 | |
parent | 77e608fe4544c690022f3e311fd0a3d4a6d962ca (diff) | |
parent | 74d0e93a51b573481b659e039402ce4432203007 (diff) | |
download | scilab_testimonials-ad97086747d373e00c654fd434f4eb0edbbd4455.tar.gz scilab_testimonials-ad97086747d373e00c654fd434f4eb0edbbd4455.tar.bz2 scilab_testimonials-ad97086747d373e00c654fd434f4eb0edbbd4455.zip |
Merge pull request #4 from Sashi20/master
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( |