summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-09-13 11:40:35 +0530
committerSaketh14992021-09-13 11:40:35 +0530
commit0cc81be7fc8a341469f4b325ad9b487fc346e44c (patch)
treeb54c1a77368316d52a156732c32f8d69b7e59ab9
parentc0cbfd1054313ba1c0f5b33c5a81207cf904ccb2 (diff)
downloadfellowship_testimonials-0cc81be7fc8a341469f4b325ad9b487fc346e44c.tar.gz
fellowship_testimonials-0cc81be7fc8a341469f4b325ad9b487fc346e44c.tar.bz2
fellowship_testimonials-0cc81be7fc8a341469f4b325ad9b487fc346e44c.zip
Updating internship-experience interface
-rwxr-xr-xfellowship_testimonials.module4
-rw-r--r--testimonials_edit.inc8
2 files changed, 6 insertions, 6 deletions
diff --git a/fellowship_testimonials.module b/fellowship_testimonials.module
index d34ec84..ede64fa 100755
--- a/fellowship_testimonials.module
+++ b/fellowship_testimonials.module
@@ -86,9 +86,9 @@
<source src={$row->testimonial_video} type='video/mp4'>
</video> ";
while($speakerrow = $speakerresult->fetchObject()){
- $page_content .= "<p><span>{$speakerrow->name}</span><br>Institute: {$speakerrow->institute}, {$speakerrow->place}<br><br><span style='margin-right:0; size: 10px;'>";
+ $page_content .= "<p><span>{$speakerrow->name}</span><br>Institute: {$speakerrow->institute}, {$speakerrow->place}<br><br><span style='margin-right:0; size: 20px;'>";
}
- $page_content .= "Activity name</span>: {$row->activity}
+ $page_content .= "{$row->activity}
<br><br><span>Floss</span>: {$row->fellowship_task}
<br><br><span>Year of participation</span>: {$row->year}</p></div>";
diff --git a/testimonials_edit.inc b/testimonials_edit.inc
index e6e407f..3efaa65 100644
--- a/testimonials_edit.inc
+++ b/testimonials_edit.inc
@@ -23,7 +23,7 @@ function fellowship_testimonials_edit_form($form,$form_state, $testimonial_id =
),
"#required" => TRUE,
'#default_value' => $row->activity,
- '#disabled' => TRUE,
+ //'#disabled' => TRUE,
);
$form["fellowship_year"] = array(
"#type" => "textfield",
@@ -313,7 +313,7 @@ function fellows_add_more_remove_one($form, &$form_state) {
} else {
drupal_set_message("Testimonial updated successfully", "status");
}
- drupal_goto('fellowship-testimonials/edit');
+ drupal_goto('intership-experience/edit');
}
function fellowship_testimonials_edit_all($testimonial_id=0) {
@@ -327,12 +327,12 @@ function fellowship_testimonials_edit_all($testimonial_id=0) {
} else {
$query = db_select('fellowship_testimonials');
$query->fields('fellowship_testimonials');
- // $query->orderBy('time', 'DESC');
+ $query->orderBy('id', DESC);
//$query->condition('id', $speakerrow->t_id);
$result = $query->execute();
$headers = array(
- "Name", "Institute", "Activity Type", "Type", "Action"
+ "Name", "Institute", " ", "Type", "Action"
);
$rows = array();