From 12080f069d8b46f3cd66a463e640243ccec6fffa Mon Sep 17 00:00:00 2001
From: Saketh1499
Date: Fri, 10 Sep 2021 14:51:47 +0530
Subject: Updating testimonials to intenship experience
---
fellowship_testimonials.module | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
(limited to 'fellowship_testimonials.module')
diff --git a/fellowship_testimonials.module b/fellowship_testimonials.module
index 70dc580..d34ec84 100755
--- a/fellowship_testimonials.module
+++ b/fellowship_testimonials.module
@@ -7,8 +7,8 @@
"access arguments" => array("view fellowship_testimonials"),
"type" => MENU_CALLBACK
);*/
- $items["fellowship-testimonials"] = array(
- "title" => "Fellowship testimonials",
+ $items["intership-experience"] = array(
+ "title" => "Intership Experience",
"page callback" => "drupal_get_form",
"page arguments" => array(
"fellowship_testimonials_display_form"
@@ -18,29 +18,29 @@
),
"type" => MENU_NORMAL_ITEM
);
- $items["fellowship-testimonials/year-wise"] = array(
+ $items["intership-experience/year-wise"] = array(
"title" => "Testimonials by FOSSEE Summer Fellows year wise",
- "page callback" => "fellowship_testimonials_display_year_wise",
+ "page callback" => "intership-experience_display_year_wise",
"access arguments" => array("view fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_year_wise.inc'
);
- $items["fellowship-testimonials/add"] = array(
- "title" => "Add fellowship testimonials",
+ $items["intership-experience/add"] = array(
+ "title" => "Add intership-experience",
"page callback" => "fellowship_testimonials_add_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_add.inc'
);
- $items["fellowship-testimonials/edit"] = array(
- "title" => "Edit fellowship testimonials",
+ $items["intership-experience/edit"] = array(
+ "title" => "Edit intership-experience",
"page callback" => "fellowship_testimonials_edit_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_edit.inc'
);
- $items["fellowship-testimonials/delete"] = array(
- "title" => "Delete Testimonial",
+ $items["intership-experience/delete"] = array(
+ "title" => "Delete intership-experience",
"page callback" => "fellowship_testimonials_delete_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK
@@ -86,10 +86,11 @@
{$speakerrow->name} {$speakerrow->name} {$speakerrow->name}
Institute: {$speakerrow->institute}, {$speakerrow->place}
";
+ $page_content .= "
Institute: {$speakerrow->institute}, {$speakerrow->place}
";
}
- $page_content .= "Fellowship task: {$row->fellowship_task}
-
Fellowship Year: {$row->year}
Floss: {$row->fellowship_task}
+
Year of participation: {$row->year}
{$speakerrow->institute}, {$speakerrow->place}
";
// }
- $page_content .= "{$row->fellowship_task}, FOSSEE Summer Fellowship {$row->year}