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