diff options
author | Jayaram R Pai | 2014-07-22 20:37:05 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-07-22 20:37:05 +0530 |
commit | 0b0d47c98682eb0e78acb29a9bc3155a376c1bfe (patch) | |
tree | f602617624da6843f533be032304b4ee5398c82e /textbook_companion.module | |
parent | c13b4f173853c7b71dc09c75959d83bc17c39a10 (diff) | |
download | scilab_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-x | textbook_companion.module | 16 |
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', |