diff options
author | prashantsinalkar | 2021-02-11 13:28:56 +0530 |
---|---|---|
committer | prashantsinalkar | 2021-02-11 13:28:56 +0530 |
commit | f0b454aa06a631d20e896cef3ea5704fed3e5e72 (patch) | |
tree | 87fa6d486bdb13e92124c3c722f0e4917920b376 /textbook_companion.module | |
parent | 08051b1894f3003b72542a0910ea0ccf1d4dab5b (diff) | |
download | dwsim_textbook_companion-f0b454aa06a631d20e896cef3ea5704fed3e5e72.tar.gz dwsim_textbook_companion-f0b454aa06a631d20e896cef3ea5704fed3e5e72.tar.bz2 dwsim_textbook_companion-f0b454aa06a631d20e896cef3ea5704fed3e5e72.zip |
Update completed books view format
Diffstat (limited to 'textbook_companion.module')
-rwxr-xr-x | textbook_companion.module | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/textbook_companion.module b/textbook_companion.module index 3bba94a..106257e 100755 --- a/textbook_companion.module +++ b/textbook_companion.module @@ -781,6 +781,15 @@ function textbook_companion_menu() ), 'type' => MENU_CALLBACK ); + /* COMPLETED DWSIM TBC Completed Books */ + $items['textbook-companion/completed-books'] = array( + 'title' => 'TBC Completed Books', + 'page callback' => 'dwsim_tbc_completed_book_proposal_all', + 'access arguments' => array( + 'download code' + ), + 'file' => 'tbc_details.inc', + ); return $items; } /** @@ -884,7 +893,15 @@ function textbook_companion_permission() "verify certificates" => array( "title" => t("verify the certificates"), "description" => t("verify the certificates") - ) + ), + /*'dwsim tbc completed books' => array( + 'title' => t('dwsim textbook-companion completed code'), + "description" => t("Allows to view completed books") + )*/ + 'TBC download abstract' => array( + 'title' => t('dwsim textbook-companion completed code'), + 'restrict access' => TRUE + ), ); } |