diff options
author | Sashi20 | 2018-12-26 16:43:47 +0530 |
---|---|---|
committer | Sashi20 | 2018-12-26 16:43:47 +0530 |
commit | 2404f69afcca5e95b8270a6e865159f3cf1e9c03 (patch) | |
tree | dfca98ff1827513cd0d46ef7cc1c40115ef1c988 | |
parent | 91770270bc57e4823da69c7a0215b120e761767f (diff) | |
download | om_pssp-2404f69afcca5e95b8270a6e865159f3cf1e9c03.tar.gz om_pssp-2404f69afcca5e95b8270a6e865159f3cf1e9c03.tar.bz2 om_pssp-2404f69afcca5e95b8270a6e865159f3cf1e9c03.zip |
Fixed typos in the project download page
-rwxr-xr-x | pssp_details.inc | 12 | ||||
-rwxr-xr-x | run.inc | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/pssp_details.inc b/pssp_details.inc index 6a3abd2..28810fa 100755 --- a/pssp_details.inc +++ b/pssp_details.inc @@ -11,12 +11,12 @@ function om_pssp_completed_proposals_all() if ($result->rowCount() == 0) { - $output .= "Work has been completed for the following power system simulation. We welcome your contributions." ."<hr>"; + $output .= "Work has been completed for the following Power System Simulation. We welcome your contributions." ."<hr>"; } //$result->rowCount() == 0 else { - $output .= "Work has been completed for the following power system simulation. We welcome your contributions." . "<hr>"; + $output .= "Work has been completed for the following Power System Simulations. We welcome your contributions." . "<hr>"; $preference_rows = array(); $i = 1; while ($row = $result->fetchObject()) @@ -41,7 +41,7 @@ function om_pssp_completed_proposals_all() } //$row = $result->fetchObject() $preference_header = array( 'No', - 'power system simulation Project', + 'Power System Simulation Project', 'Abstract File', 'Contributor Name', 'Institute', @@ -65,11 +65,11 @@ function om_pssp_progress_all() $result = $query->execute(); if ($result->rowCount() == 0) { - $page_content .= "Work is in progress for the following power system simulation under power system simulation Project<hr>"; + $page_content .= "Work is in progress for the following Power System Simulation under Power System Simulation Project<hr>"; } //$result->rowCount() == 0 else { - $page_content .= "Work is in progress for the following power system simulation under power system simulation Project<hr>"; + $page_content .= "Work is in progress for the following Power System Simulation under Power System Simulation Project<hr>"; $preference_rows = array(); $i = 1; while ($row = $result->fetchObject()) @@ -86,7 +86,7 @@ function om_pssp_progress_all() } //$row = $result->fetchObject() $preference_header = array( 'No', - 'power system simulation Project', + 'Power System Simulation Project', 'Contributor Name', 'Institute', 'Year' @@ -19,7 +19,7 @@ function om_pssp_run_form($form, &$form_state) $form = array(); $form['om_pssp'] = array( '#type' => 'select', - '#title' => t('Title of the om_pssp'), + '#title' => t('Title of the OM PSSP'), '#options' => _list_of_om_pssp(), '#default_value' => $selected, '#ajax' => array( @@ -44,7 +44,7 @@ function om_pssp_run_form($form, &$form_state) ); $form['selected_om_pssp'] = array( '#type' => 'item', - '#markup' => '<div id="ajax_selected_om_pssp">' . l('Download Power system simulation', 'powersystems/pssp/full-download/project/' . $om_pssp_default_value) . '</div>' + '#markup' => '<div id="ajax_selected_om_pssp">' . l('Download Power System Simulation', 'powersystems/pssp/full-download/project/' . $om_pssp_default_value) . '</div>' ); } return $form; @@ -58,7 +58,7 @@ function om_pssp_project_details_callback($form, $form_state) $om_pssp_details = _om_pssp_information($om_pssp_default_value); $provider = user_load($om_pssp_details->uid); if ($om_pssp_details->uid > 0) { - $commands[] = ajax_command_html('#ajax_selected_om_pssp', l('Download Power system simulation', 'powersystems/pssp/full-download/project/' . $om_pssp_default_value)); + $commands[] = ajax_command_html('#ajax_selected_om_pssp', l('Download Power System Simulation', 'powersystems/pssp/full-download/project/' . $om_pssp_default_value)); } //$om_pssp_details->uid > 0 else { $commands[] = ajax_command_html('#ajax_selected_om_pssp', ''); @@ -143,7 +143,7 @@ function _om_pssp_details($om_pssp_default_value) }else{ $reference = 'Not provided'; } - $form['om_pssp_details']['#markup'] = '<span style="color: rgb(128, 0, 0);"><strong>About the Power system simulation</strong></span></td><td style="width: 35%;"><br />' . '<ul>' . '<li><strong>Proposer Name:</strong> ' . $om_pssp_details->name_title . ' ' . $om_pssp_details->contributor_name . '</li>' . '<li><strong>Title of the Flowhseet:</strong> ' . l($om_pssp_details->project_title,'powersystems/pssp/full-download/project/' . $om_pssp_default_value) . '</li>' . '<li><strong>University:</strong> ' . $om_pssp_details->university . '</li>' . '<li>'.'<strong>Reference:</strong> ' . $reference .'</li>'.'</ul>'; + $form['om_pssp_details']['#markup'] = '<span style="color: rgb(128, 0, 0);"><strong>About the Power System Simulation</strong></span></td><td style="width: 35%;"><br />' . '<ul>' . '<li><strong>Proposer Name:</strong> ' . $om_pssp_details->name_title . ' ' . $om_pssp_details->contributor_name . '</li>' . '<li><strong>Title of the Simulation:</strong> ' . l($om_pssp_details->project_title,'powersystems/pssp/full-download/project/' . $om_pssp_default_value) . '</li>' . '<li><strong>University:</strong> ' . $om_pssp_details->university . '</li>' . '<li>'.'<strong>Reference:</strong> ' . $reference .'</li>'.'</ul>'; $details = $form['om_pssp_details']['#markup']; return $details; } //$om_pssp_default_value != 0 |