diff options
author | Sashi20 | 2019-06-11 16:08:08 +0530 |
---|---|---|
committer | Sashi20 | 2019-06-11 16:08:08 +0530 |
commit | 3be18f3f8a289ebbbef843a7d2caca5170bcb67e (patch) | |
tree | 35660c6645c3477a362ffbe7bd72e8e2ae9fa2de | |
parent | fd1e49bebd2df0e5dbae7022fefbd26598082747 (diff) | |
download | om_flowsheet-3be18f3f8a289ebbbef843a7d2caca5170bcb67e.tar.gz om_flowsheet-3be18f3f8a289ebbbef843a7d2caca5170bcb67e.tar.bz2 om_flowsheet-3be18f3f8a289ebbbef843a7d2caca5170bcb67e.zip |
Modify goto urls to chemical home
-rwxr-xr-x | proposal.inc | 4 | ||||
-rwxr-xr-x | upload_code.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/proposal.inc b/proposal.inc index 0516b46..a39507a 100755 --- a/proposal.inc +++ b/proposal.inc @@ -47,7 +47,7 @@ function om_flowsheet_proposal_form($form, &$form_state, $no_js_use = FALSE) if ($proposal_data->approval_status == 0 || $proposal_data->approval_status == 1) { drupal_set_message(t('We have already received your proposal.'), 'status'); - drupal_goto('chemical/flowsheeting-project'); + drupal_goto('chemical'); return; } //$proposal_data->approval_status == 0 || $proposal_data->approval_status == 1 } //$proposal_data @@ -677,5 +677,5 @@ function om_flowsheet_proposal_form_submit($form, &$form_state) if (!drupal_mail('om_flowsheet', 'om_flowsheet_proposal_received', $email_to, user_preferred_language($user), $params, $form, TRUE)) drupal_set_message('Error sending email message.', 'error'); drupal_set_message(t('We have received your OpenModelica Flowsheeting proposal. We will get back to you soon.'), 'status'); - drupal_goto('chemical/flowsheeting-project'); + drupal_goto('chemical'); } diff --git a/upload_code.inc b/upload_code.inc index e503d7a..99008df 100755 --- a/upload_code.inc +++ b/upload_code.inc @@ -7,7 +7,7 @@ function om_flowsheet_abstract() $proposal_data = om_flowsheet_get_proposal(); if (!$proposal_data) { - drupal_goto('chemical/flowsheeting-project'); + drupal_goto('chemical'); return; } //!$proposal_data //$return_html .= l('Upload abstract', 'flowsheeting-project/abstract-code/upload') . '<br />'; @@ -453,7 +453,7 @@ function om_flowsheet_upload_abstract_code_form_submit($form, &$form_state) $proposal_id = $proposal_data->id; if (!$proposal_data) { - drupal_goto('chemical/flowsheeting-project'); + drupal_goto('chemical'); return; } //!$proposal_data $proposal_id = $proposal_data->id; |