6 * Administration settings for ipv6_greeter
10 * Administration settings form.
13 * The completed form definition.
15 function ipv6_greeter_admin_settings() {
18 $form['ipv6_greeter_general_settings'] = array(
19 '#type' => 'fieldset',
20 '#title' => t('General'),
22 $form['ipv6_greeter_general_settings']['ipv6_greeter_blocktitle'] = array(
23 '#type' => 'textfield',
24 '#title' => t('Block title'),
25 '#description' => t('Title to show on top ofthe block, leave empty if you want no title'),
26 '#default_value' => variable_get('ipv6_greeter_blocktitle', 'IPv6 Greeter'),
29 $form['ipv6_greeter_general_settings']['ipv6_greeter_greetIPv4'] = array(
30 '#type' => 'checkbox',
31 '#title' => t('Greet IPv4 too'),
32 '#description' => t('Greet also IPv4 clients, showing them info about IPv6.'),
33 '#default_value' => variable_get('ipv6_greeter_greetIPv4', '1'),
36 return system_settings_form($form);