diff options
author | prashant | 2015-04-10 15:11:10 +0530 |
---|---|---|
committer | prashant | 2015-04-10 15:11:10 +0530 |
commit | 039f204523785e97dec571bcf0494d54ca757d5c (patch) | |
tree | 3483cd0a86c60b028e85c0f219fcd6853e520ada | |
parent | 4e8064226aab48a99bc270ed1335fab95955a7e9 (diff) | |
download | DWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.tar.gz DWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.tar.bz2 DWSIM_textbook_companion-039f204523785e97dec571bcf0494d54ca757d5c.zip |
Disabled dispay chapters
-rwxr-xr-x | run.inc | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -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( |