From 3be18f3f8a289ebbbef843a7d2caca5170bcb67e Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 11 Jun 2019 16:08:08 +0530 Subject: Modify goto urls to chemical home --- proposal.inc | 4 ++-- 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') . '
'; @@ -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; -- cgit