You are here

function reg_with_pic_admin_settings in Register with Picture 6

Admin handler for reg with pic settings.

1 string reference to 'reg_with_pic_admin_settings'
reg_with_pic_menu in ./reg_with_pic.module
Implementation of hook_menu().

File

./reg_with_pic.admin.inc, line 10
Administratino pages for the Reg With Pic module

Code

function reg_with_pic_admin_settings() {
  $form = array();
  $form['reg_with_pic_required'] = array(
    '#type' => 'select',
    '#title' => t('Requre Picture on Registration Form?'),
    '#options' => array(
      0 => t('No'),
      1 => t('Yes'),
    ),
    '#default_value' => variable_get('reg_with_pic_required', 0),
  );
  return system_settings_form($form);
}