function domain_nav_block_configure in Domain Access 7.3
Same name and namespace in other branches
- 7.2 domain_nav/domain_nav.module \domain_nav_block_configure()
Implements hook_block_configure().
File
- domain_nav/
domain_nav.module, line 141 - Navigation block and menu options for Domain Access
Code
function domain_nav_block_configure($delta = '') {
$form['domain_nav_block'] = array(
'#type' => 'radios',
'#title' => t('Link paths'),
'#default_value' => variable_get('domain_nav_block', 0),
'#options' => array(
0 => t('Link to site home page'),
1 => t('Link to active url'),
),
);
$options = array(
'default' => t('JavaScript select list'),
'menus' => t('Menu-style tab links'),
'ul' => t('Unordered list of links'),
);
$form['domain_nav_theme'] = array(
'#type' => 'radios',
'#title' => t('Link theme'),
'#default_value' => variable_get('domain_nav_theme', 'default'),
'#options' => $options,
);
return $form;
}