summaryrefslogtreecommitdiff
path: root/fellowship_testimonials.module
diff options
context:
space:
mode:
Diffstat (limited to 'fellowship_testimonials.module')
-rwxr-xr-xfellowship_testimonials.module30
1 files changed, 15 insertions, 15 deletions
diff --git a/fellowship_testimonials.module b/fellowship_testimonials.module
index ede64fa..a564de7 100755
--- a/fellowship_testimonials.module
+++ b/fellowship_testimonials.module
@@ -7,8 +7,8 @@
"access arguments" => array("view fellowship_testimonials"),
"type" => MENU_CALLBACK
);*/
- $items["intership-experience"] = array(
- "title" => "Intership Experience",
+ $items["internship-experiences"] = array(
+ "title" => "Intership Experiences",
"page callback" => "drupal_get_form",
"page arguments" => array(
"fellowship_testimonials_display_form"
@@ -18,29 +18,29 @@
),
"type" => MENU_NORMAL_ITEM
);
- $items["intership-experience/year-wise"] = array(
- "title" => "Testimonials by FOSSEE Summer Fellows year wise",
- "page callback" => "intership-experience_display_year_wise",
+ $items["internship-experiences/year-wise"] = array(
+ "title" => "Testimonials by FOSSEE internship-experiences year wise",
+ "page callback" => "fellowship_testimonials_display_year_wise",
"access arguments" => array("view fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_year_wise.inc'
);
- $items["intership-experience/add"] = array(
- "title" => "Add intership-experience",
+ $items["internship-experiences/add"] = array(
+ "title" => "Add internship-experiences",
"page callback" => "fellowship_testimonials_add_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_add.inc'
);
- $items["intership-experience/edit"] = array(
- "title" => "Edit intership-experience",
+ $items["internship-experiences/edit"] = array(
+ "title" => "Edit internship-experiences",
"page callback" => "fellowship_testimonials_edit_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK,
'file' => 'testimonials_edit.inc'
);
- $items["intership-experience/delete"] = array(
- "title" => "Delete intership-experience",
+ $items["internship-experiences/delete"] = array(
+ "title" => "Delete internship-experiences",
"page callback" => "fellowship_testimonials_delete_all",
"access arguments" => array("manage fellowship_testimonials"),
"type" => MENU_CALLBACK
@@ -141,15 +141,15 @@ function fellowship_testimonials_display_form($form, $form_state){
$form['tab_content'] = array(
'#type' => 'item',
'#markup' => '<ul class="nav nav-tabs">
- <li class="active"><a data-toggle="tab" href="#intership-experience-text">Text</a></li>
- <li><a data-toggle="tab" href="#intership-experience-video">Video</a></li>
+ <li class="active"><a data-toggle="tab" href="#internship-experiences-text">Text</a></li>
+ <li><a data-toggle="tab" href="#internship-experiences-video">Video</a></li>
</ul>
<div class="tab-content">
- <div id="intership-experience-text"class="tab-pane fade in active">' . get_text_testimonials() . '
+ <div id="internship-experiences-text"class="tab-pane fade in active">' . get_text_testimonials() . '
</div>
- <div id="intership-experience-video" class="tab-pane fade ">' . get_video_testimonials() . '
+ <div id="internship-experiences-video" class="tab-pane fade ">' . get_video_testimonials() . '
</div>
</div>'