From 74d0e93a51b573481b659e039402ce4432203007 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Mon, 14 Jun 2021 11:28:24 +0530 Subject: Enable link to show all testimonial tabs --- scilab_testimonials.module | 18 +++++++++--------- 1 file 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( -- cgit