diff options
Diffstat (limited to 'muamba.admin.inc')
-rw-r--r-- | muamba.admin.inc | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ +<?php + +/** + * @file + * Muamba admin callbacks. + */ + +/** + * Menu callback. + */ +function muamba_config_form($form, &$form_state) { + $form['muamba_reject_all_on_accept'] = array( + '#type' => '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); +} |