diff options
author | Sashi20 | 2020-01-10 14:01:36 +0530 |
---|---|---|
committer | Sashi20 | 2020-01-10 14:01:36 +0530 |
commit | 96fa3195ca3e86c739c2907f85360bc4dcd95a95 (patch) | |
tree | 8f246c25ce5502eacc4f1b9c0e8fdc27f571e3e8 /textbook_run.inc | |
parent | fecb424fa4f20814d663e48ae668552381678509 (diff) | |
download | r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.tar.gz r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.tar.bz2 r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.zip |
Update project details in info and update text in completed books page
Diffstat (limited to 'textbook_run.inc')
-rwxr-xr-x | textbook_run.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textbook_run.inc b/textbook_run.inc index 9eb3cca..99a0619 100755 --- a/textbook_run.inc +++ b/textbook_run.inc @@ -81,7 +81,7 @@ function textbook_companion_book_run_form($form, &$form_state) ); $form['download_pdf'] = array( '#type' => 'item', - '#markup' => '<div id="ajax-download-book-pdf-replace">' . l('Download PDF', 'textbook-companion/generate-book/' . $book_default_value) . ' ' . t('(Download the PDF file containing R codes for all the solved examples)') . '</div>' + '#markup' => '<div id="ajax-download-book-pdf-replace">' . l('Download PDF', 'textbook-companion/generate-book/' . $book_default_value) . ' ' . t('(Download the PDF file containing R codes for all the solved examples)') . '<br><span style="color:red;">The generated PDF is not the PDF of the book as named but only is the PDF of the solved example for R</span></div>' ); $form['chapter'] = array( '#type' => 'select', @@ -334,7 +334,7 @@ function ajax_chapter_list_callback($form, $form_state) $commands[] = ajax_command_html("#ajax-book-details-replace", _html_book_info($book_list_default_value)); $form['chapter']['#options'] = _list_of_chapters($book_list_default_value); $commands[] = ajax_command_html("#ajax-download-book-replace", l('Download', 'textbook-companion/download/book/' . $book_list_default_value) . ' ' . t('(Download the R codes for all the solved examples)')); - $commands[] = ajax_command_html("#ajax-download-book-pdf-replace", l('Download PDF', 'textbook-companion/generate-book/' . $book_list_default_value) . ' ' . t('(Download the PDF file containing R codes for all the solved examples)')); + $commands[] = ajax_command_html("#ajax-download-book-pdf-replace", l('Download PDF', 'textbook-companion/generate-book/' . $book_list_default_value) . ' ' . t('(Download the PDF file containing R codes for all the solved examples)')) . '<br><span style="color:red;">The generated PDF is not the PDF of the book as named but only is the PDF of the solved example for R</span>'; $commands[] = ajax_command_replace("#ajax-chapter-list-replace", drupal_render($form['chapter'])); $commands[] = ajax_command_html("#ajax-example-list-replace", ''); $commands[] = ajax_command_html("#ajax-download-example-code-replace", ''); |