diff options
author | Priyanka Bhagwat | 2014-08-26 16:18:51 +0530 |
---|---|---|
committer | Priyanka Bhagwat | 2014-08-26 16:18:51 +0530 |
commit | 54aefd757427b7eb07f30d241a6e9d5d1cd2afbd (patch) | |
tree | f1195c400af285c560560a9aa50ba8c99724d097 /templates/page-front.tpl.php | |
parent | d34b95a4d54f08d8527ea8c8c88bd3ca106befa2 (diff) | |
download | scilab_theme-54aefd757427b7eb07f30d241a6e9d5d1cd2afbd.tar.gz scilab_theme-54aefd757427b7eb07f30d241a6e9d5d1cd2afbd.tar.bz2 scilab_theme-54aefd757427b7eb07f30d241a6e9d5d1cd2afbd.zip |
added time span in testimonial
Diffstat (limited to 'templates/page-front.tpl.php')
-rwxr-xr-x | templates/page-front.tpl.php | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/templates/page-front.tpl.php b/templates/page-front.tpl.php index e2488c7..01e1cd6 100755 --- a/templates/page-front.tpl.php +++ b/templates/page-front.tpl.php @@ -389,12 +389,28 @@ if($length>260) { $cut1= drupal_substr($string, 0, 260); - $cut=$cut1."..."; + $cut=$cut1." ... "; + echo "<li><i><p style='margin-top:-7px'>{$cut}</i><a href='' id='$row->id' style='margin-left:5px' data-target='#dialog{$row->id}' class='testimonial_read_more'>Read more</a></p> + <div id='dialog{$row->id}' class='dialog'> + <img src='sites/all/themes/scilab/images/x.png' style='margin-top:-25px ;margin-left:735px;' class='lightbox_close'> + <i><p style='margin-top:-1px'>{$row->body}</i><hr/><br/> + <p style='text-align:right;margin-top:-15px'>{$row->name},</p> + <p style='text-align:right;margin-top:-15px'>{$row->department}, + {$row->university},</p> + <p style='text-align:right;margin-top:-15px''>{$row->contribution},{$row->reference}.</p> + </div> + <br/> + + <p style='text-align:right;margin-top:-30px'>{$row->name},{$row->university}, + {$row->contribution},</p> + <p style='text-align:right;margin-top:-15px''>{$row->reference}.</p> + </li>"; + } + else { $cut= drupal_substr($string, 0, 260); - } - echo "<li><i><p style='margin-top:-7px'>{$cut}</i><a href='' id='$row->id' data-target='#dialog{$row->id}' class='testimonial_read_more'>Read more</a></p> + echo "<li><i><p style='margin-top:-7px'>{$cut}</i> <div id='dialog{$row->id}' class='dialog'> <img src='sites/all/themes/scilab/images/x.png' style='margin-top:-25px ;margin-left:735px;' class='lightbox_close'> <i><p style='margin-top:-1px'>{$row->body}</i><hr/><br/> @@ -411,6 +427,8 @@ </li>"; } + } + ?> </ul> </div> <!-- /#testimonials_front --> |