aboutsummaryrefslogtreecommitdiff
path: root/muamba.module
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-26 20:34:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-26 20:34:59 -0300
commit8bc407811575c36fc24dda235e263e9366efbe1e (patch)
tree5cd9e5d65c19925362f1be80f0678e9e997ab0a5 /muamba.module
parentcfadf58b293e7c6c030184a8f2bd1d93688fe85a (diff)
downloadmuamba-8bc407811575c36fc24dda235e263e9366efbe1e.tar.gz
muamba-8bc407811575c36fc24dda235e263e9366efbe1e.tar.bz2
Sketching muamba_actions()
Diffstat (limited to 'muamba.module')
-rw-r--r--muamba.module13
1 files changed, 12 insertions, 1 deletions
diff --git a/muamba.module b/muamba.module
index deb1b2d..9588dac 100644
--- a/muamba.module
+++ b/muamba.module
@@ -79,6 +79,14 @@ function muamba_menu() {
'file' => 'muamba.business.inc',
);
+ $items['muamba/cancel'] = array(
+ 'title' => 'Cancel a request',
+ 'page callback' => 'muamba_cancel',
+ 'access arguments' => array('cancel item'),
+ 'type' => MENU_SUGGESTED_ITEM,
+ 'file' => 'muamba.business.inc',
+ );
+
return $items;
}
@@ -120,7 +128,10 @@ function muamba_theme($existing, $type, $theme, $path) {
'template' => 'muamba-powered',
),
'muamba_transactions' => array(
- 'variables' => array('transactions' => NULL),
+ 'variables' => array(
+ 'transactions' => NULL,
+ 'type' => NULL,
+ ),
'file' => 'muamba.theme.inc',
),
);