diff options
-rw-r--r-- | testimonials_add.inc | 4 | ||||
-rw-r--r-- | testimonials_edit.inc | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/testimonials_add.inc b/testimonials_add.inc index 9ac95b9..c3a3029 100644 --- a/testimonials_add.inc +++ b/testimonials_add.inc @@ -18,8 +18,8 @@ function fellowship_testimonials_add_form($form,$form_state, $no_js_use = FALSE, "#type" => 'select', "#title" => t('Select Activity'), "#options" => array( - 'Semster-long internship' => 'Semster-long internship', - 'Fossee Summer fellowship' => 'Fossee Summer fellowship' + 'Semester Long Internship' => 'Semester Long Internship', + 'FOSSEE Summer Fellowship' => 'FOSSEE Summer Fellowship' ), "#required" => TRUE, ); diff --git a/testimonials_edit.inc b/testimonials_edit.inc index 5da3705..36c2f46 100644 --- a/testimonials_edit.inc +++ b/testimonials_edit.inc @@ -5,9 +5,7 @@ function fellowship_testimonials_edit() { $page_content .= drupal_render($fellowship_testimonials_edit_form); return $page_content; } -function fellowship_testimonials_edit_form($form, &$form_state, &$testimonial_id = 0) { - $testimonial_id = arg(2); - //var_dump($testimonial_id);die; +function fellowship_testimonials_edit_form($form, $form_state, $testimonial_id = 0) { $query = db_select('fellowship_testimonials'); $query->fields('fellowship_testimonials'); $query->condition('id', $testimonial_id); @@ -18,8 +16,8 @@ function fellowship_testimonials_edit_form($form, &$form_state, &$testimonial_id "#type" => 'select', "#title" => t('Select Activity'), "#options" => array( - 'Semster-long internship' => 'Semster-long internship', - 'Fossee Summer fellowship' => 'Fossee Summer fellowship' + 'Semester Long Internship' => 'Semester Long Internship', + 'FOSSEE Summer Fellowship' => 'FOSSEE Summer Fellowship' ), "#required" => TRUE, '#default_value' => $row->activity, |