diff options
Diffstat (limited to 'muamba.theme.inc')
-rw-r--r-- | muamba.theme.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/muamba.theme.inc b/muamba.theme.inc index ac8cdc7..4e201f7 100644 --- a/muamba.theme.inc +++ b/muamba.theme.inc @@ -34,6 +34,8 @@ function theme_muamba_transactions($variables) { } foreach($transactions as $transaction) { + $actions = array(); + foreach (muamba_actions_available($type, $transaction['status']) as $action) { $callback = muamba_actions($action); $actions[] = l(t($callback), 'muamba/'. $callback .'/'. $transaction['mid']); @@ -104,3 +106,31 @@ function theme_muamba_accept_message($transaction = NULL) { function theme_muamba_reject_message($transaction = NULL) { return t('I reject your item request'); } + +/** + * Theme callback. + */ +function theme_muamba_cancel_message($transaction = NULL) { + return t('I cancel my item request'); +} + +/** + * Theme callback. + */ +function theme_muamba_return_message($transaction = NULL) { + return t('I return your item'); +} + +/** + * Theme callback. + */ +function theme_muamba_recovered_message($transaction = NULL) { + return t('I recovered my item'); +} + +/** + * Theme callback. + */ +function theme_muamba_lost_message($transaction = NULL) { + return t('I declare that my item is lost'); +} |