summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
authorSashi202020-01-30 12:31:23 +0530
committerSashi202020-01-30 12:31:23 +0530
commit85cec50ceb505347b0df8f0b3468ea4f4c9b80dd (patch)
tree57cdfc2e7b3bf1b1efcf4736365950c01530c524 /run.inc
parentc6f0bd09ee96f3ffa6b15cb4fc324ddd7ab4623f (diff)
downloadr_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-xrun.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.inc b/run.inc
index 1d106fb..839d0e1 100755
--- a/run.inc
+++ b/run.inc
@@ -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>'
);