diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-17 14:49:00 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-17 14:49:00 -0200 |
commit | f092db08f0125d94040487eac8ba4c0950230359 (patch) | |
tree | d45468c41896182454832bc482b705c1cd734863 /muamba.admin.inc | |
parent | 0b268a9ba9201c187c9f83bb21793bb9f2bc7e56 (diff) | |
download | muamba-f092db08f0125d94040487eac8ba4c0950230359.tar.gz muamba-f092db08f0125d94040487eac8ba4c0950230359.tar.bz2 |
Allow request of unavailable items (#42)
Diffstat (limited to 'muamba.admin.inc')
-rw-r--r-- | muamba.admin.inc | 9 |
1 files changed, 8 insertions, 1 deletions
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); |