summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashant2015-04-10 15:11:10 +0530
committerprashant2015-04-10 15:11:10 +0530
commit039f204523785e97dec571bcf0494d54ca757d5c (patch)
tree3483cd0a86c60b028e85c0f219fcd6853e520ada
parent4e8064226aab48a99bc270ed1335fab95955a7e9 (diff)
downloadDWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.tar.gz
DWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.tar.bz2
DWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.zip
Disabled dispay chapters
-rwxr-xr-xrun.inc34
1 files changed, 17 insertions, 17 deletions
diff --git a/run.inc b/run.inc
index 6181192..6573de5 100755
--- a/run.inc
+++ b/run.inc
@@ -158,23 +158,23 @@ function textbook_companion_run_form($form_state, $pref_id = NULL)
'#type' => 'item',
'#value' => l('Download', 'download/book/' . $book_default_value) . ' ' . t('(Download the DWSIM codes for all the solved examples)'),
);
- $form['run']['chapter'] = array(
- '#type' => 'select',
- '#title' => t('Title of the Chapter'),
- '#options' => _list_of_chapters($book_default_value),
- '#default_value' => $chapter_default_value,
- '#tree' => TRUE,
- '#ahah' => array(
- 'event' => 'change',
- 'effect' => 'none',
- 'path' => ahah_helper_path(array('run')),
- 'wrapper' => 'run-wrapper',
- 'progress' => array(
- 'type' => 'throbber',
- 'message' => t(''),
- ),
- ),
- );
+ // $form['run']['chapter'] = array(
+ // '#type' => 'select',
+ // '#title' => t('Title of the Chapter'),
+ // '#options' => _list_of_chapters($book_default_value),
+ // '#default_value' => $chapter_default_value,
+ // '#tree' => TRUE,
+ // '#ahah' => array(
+ // 'event' => 'change',
+ // 'effect' => 'none',
+ // 'path' => ahah_helper_path(array('run')),
+ // 'wrapper' => 'run-wrapper',
+ // 'progress' => array(
+ // 'type' => 'throbber',
+ // 'message' => t(''),
+ // ),
+ // ),
+ // );
if ($chapter_default_value > 0)
{
$form['run']['download_chapter'] = array(