From: Silvio Rhatto Date: Wed, 16 Nov 2011 01:42:45 +0000 (-0200) Subject: Adding admin callback X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=738a8cbff948d04c8000e7066ee0d652ee267d9f;p=drupal%2Fmuamba.git Adding admin callback --- diff --git a/muamba.admin.inc b/muamba.admin.inc new file mode 100644 index 0000000..cafc7b3 --- /dev/null +++ b/muamba.admin.inc @@ -0,0 +1,20 @@ + 'checkbox', + '#title' => t('Reject all pending requests upon acceptance'), + '#default_value' => variable_get('muamba_reject_all_on_accept', FALSE), + '#description' => t('Cancel all other requests of an item upon acceptance'), + ); + + return system_settings_form($form); +}