diff options
author | prashant | 2015-10-13 17:01:50 +0530 |
---|---|---|
committer | prashant | 2015-10-13 17:01:50 +0530 |
commit | d28032bb60d83635ab536f4adbcae60719604ec2 (patch) | |
tree | 01bed664acf49798da63c9c60c9588bae0c3ddb6 /lab_details.inc | |
parent | 75bddee850f35be8d56740ba66b0d93d6dc6072c (diff) | |
download | DWSIM_lab_migration-d28032bb60d83635ab536f4adbcae60719604ec2.tar.gz DWSIM_lab_migration-d28032bb60d83635ab536f4adbcae60719604ec2.tar.bz2 DWSIM_lab_migration-d28032bb60d83635ab536f4adbcae60719604ec2.zip |
changed existing folder structure and mail format for git implementation
Diffstat (limited to 'lab_details.inc')
-rwxr-xr-x | lab_details.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lab_details.inc b/lab_details.inc index 59898da..217c4b6 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -7,11 +7,11 @@ $query->condition('approval_status', 3); $result = $query->execute(); //$result = db_query($query); - $proposal_rows = array(); + $preference_rows = array(); $i=1; while($row = $result->fetchObject()) { - $approval_date=date("Y", $row->approval_date); - $preference_rows[] = array($i, $row->university , l($row->lab_title,"lab_migration_run/".$row->id),$approval_date); + $approval_date = date("Y", $row->approval_date); + $preference_rows[] = array($i, $row->university , l($row->lab_title,"lab-migration-run/".$row->id),$approval_date); $i++; } $preference_header = array('No','Institute', 'Lab', 'Year'); @@ -37,4 +37,7 @@ $page_content .= "</ol>"; return $page_content; } + + + ?> |