summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-11-25 15:50:20 +0530
committerSashi202019-11-25 15:50:20 +0530
commit9381e823297e9a87b8122547e726fe90ad0e2dab (patch)
tree308ee5d7bcad499bb07b3c798b4e7c24a8ca340b
parentb867898394684dcb557ff1d3f219eadba05b62f1 (diff)
downloadom_flowsheet-9381e823297e9a87b8122547e726fe90ad0e2dab.tar.gz
om_flowsheet-9381e823297e9a87b8122547e726fe90ad0e2dab.tar.bz2
om_flowsheet-9381e823297e9a87b8122547e726fe90ad0e2dab.zip
Add help text to download the library
-rwxr-xr-xrun.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.inc b/run.inc
index 337f25f..5961e6c 100755
--- a/run.inc
+++ b/run.inc
@@ -58,7 +58,7 @@ function om_flowsheet_project_details_callback($form, $form_state)
$flowsheet_details = _flowsheet_information($flowsheet_default_value);
$provider = user_load($flowsheet_details->uid);
if ($flowsheet_details->uid > 0) {
- $commands[] = ajax_command_html('#ajax_selected_flowsheet', l('Download Flowsheet', 'chemical/flowsheeting-project/full-download/project/' . $flowsheet_default_value,array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the om flow sheet which is to be viewed by right clicking on the file and opening with om.'))));
+ $commands[] = ajax_command_html('#ajax_selected_flowsheet', l('Download Flowsheet', 'chemical/flowsheeting-project/full-download/project/' . $flowsheet_default_value,array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the om flow sheet which is to be viewed by right clicking on the file and opening with om.'))) . '<hr><p style="color:red;">Note: This flowsheet is compatible with the simulator version mentioned above. To simulate the flowsheet in OpenModelica, it must be opened with the above Simulator version.<br>To download the Simulator, click on the Simulator version mentioned above.</p>');
} //$flowsheet_details->uid > 0
else {
$commands[] = ajax_command_html('#ajax_selected_flowsheet', '');