diff options
author | Sashi20 | 2020-01-30 12:31:23 +0530 |
---|---|---|
committer | Sashi20 | 2020-01-30 12:31:23 +0530 |
commit | 85cec50ceb505347b0df8f0b3468ea4f4c9b80dd (patch) | |
tree | 57cdfc2e7b3bf1b1efcf4736365950c01530c524 /run.inc | |
parent | c6f0bd09ee96f3ffa6b15cb4fc324ddd7ab4623f (diff) | |
download | r_textbook_companion-85cec50ceb505347b0df8f0b3468ea4f4c9b80dd.tar.gz r_textbook_companion-85cec50ceb505347b0df8f0b3468ea4f4c9b80dd.tar.bz2 r_textbook_companion-85cec50ceb505347b0df8f0b3468ea4f4c9b80dd.zip |
Add link to display download pdf when pref id is present in url
Diffstat (limited to 'run.inc')
-rwxr-xr-x | run.inc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ function textbook_companion_run_form($form, &$form_state) '#type' => 'item', '#markup' => '<div id="ajax-download-book-replace">' . l('Download', 'textbook-companion/download/book/' . $book_default_value) . ' ' . t('(Download the R codes for all the solved examples)') . '</div>' ); - /* $form['download_pdf'] = array( + $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>' ); |