summaryrefslogtreecommitdiff
path: root/textbook_companion.module
diff options
context:
space:
mode:
authorprashantsinalkar2021-02-11 13:28:56 +0530
committerprashantsinalkar2021-02-11 13:28:56 +0530
commitf0b454aa06a631d20e896cef3ea5704fed3e5e72 (patch)
tree87fa6d486bdb13e92124c3c722f0e4917920b376 /textbook_companion.module
parent08051b1894f3003b72542a0910ea0ccf1d4dab5b (diff)
downloaddwsim_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-xtextbook_companion.module19
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
+ ),
);
}