From f092db08f0125d94040487eac8ba4c0950230359 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 17 Nov 2011 14:49:00 -0200 Subject: Allow request of unavailable items (#42) --- muamba.admin.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'muamba.admin.inc') diff --git a/muamba.admin.inc b/muamba.admin.inc index cafc7b3..456fc88 100644 --- a/muamba.admin.inc +++ b/muamba.admin.inc @@ -13,7 +13,14 @@ function muamba_config_form($form, &$form_state) { '#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'), + '#description' => t('Cancel all other requests of an item upon acceptance.'), + ); + + $form['muamba_allow_request_unavailable'] = array( + '#type' => 'checkbox', + '#title' => t('Allow request of unavailable items'), + '#default_value' => variable_get('muamba_allow_request_unavailable', FALSE), + '#description' => t('Makes possible users request items that are not currently available.'), ); return system_settings_form($form); -- cgit v1.2.3