From 8bc407811575c36fc24dda235e263e9366efbe1e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 26 Sep 2011 20:34:59 -0300 Subject: Sketching muamba_actions() --- muamba.module | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'muamba.module') 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', ), ); -- cgit v1.2.3