summaryrefslogtreecommitdiff
path: root/textbook_companion.module
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-22 20:37:05 +0530
committerJayaram R Pai2014-07-22 20:37:05 +0530
commit0b0d47c98682eb0e78acb29a9bc3155a376c1bfe (patch)
treef602617624da6843f533be032304b4ee5398c82e /textbook_companion.module
parentc13b4f173853c7b71dc09c75959d83bc17c39a10 (diff)
downloadscilab_textbook_companion-0b0d47c98682eb0e78acb29a9bc3155a376c1bfe.tar.gz
scilab_textbook_companion-0b0d47c98682eb0e78acb29a9bc3155a376c1bfe.tar.bz2
scilab_textbook_companion-0b0d47c98682eb0e78acb29a9bc3155a376c1bfe.zip
added pages to edit/delete dependencies
Diffstat (limited to 'textbook_companion.module')
-rwxr-xr-xtextbook_companion.module16
1 files changed, 16 insertions, 0 deletions
diff --git a/textbook_companion.module b/textbook_companion.module
index 8e6e34a..11fa145 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -196,6 +196,22 @@ function textbook_companion_menu()
'file' => 'dependency.inc',
'weight' => 3,
);
+ $items['textbook_companion/code/edit_dep'] = array(
+ 'title' => 'Edit Dependency',
+ 'description' => 'Edit Dependency File',
+ 'page callback' => 'edit_dependency',
+ 'access arguments' => array('upload code'),
+ 'type' => MENU_CALLBACK,
+ 'file' => 'dependency.inc',
+ );
+ $items['textbook_companion/code/delete_dep'] = array(
+ 'title' => 'Delete Dependency',
+ 'description' => 'Delete Dependency File',
+ 'page callback' => 'delete_dependency',
+ 'access arguments' => array('upload code'),
+ 'type' => MENU_CALLBACK,
+ 'file' => 'dependency.inc',
+ );
$items['textbook_companion/code/edit'] = array(
'title' => 'Edit Example',
'description' => 'Edit Example',