Commit ddac0701 authored by drumm's avatar drumm Committed by Neil Drumm

UI

parent 992e0764
......@@ -46,15 +46,15 @@ function hosting_alias_form_data(&$form) {
$form['aliases'] = array(
'#type' => 'textarea',
'#title' => t('Domain aliases'),
'#description' => t('Your site can also be accessed through these domain names. This field requires each domain alias to be on its own line'),
'#description' => t('The site can also be accessed through these domain names, one per line.'),
'#default_value' => implode("\n", (array) $form['#node']->aliases),
'#weight' => 10,
);
$form['redirection'] = array(
'#type' => 'checkbox',
'#title' => t('Redirection'),
'#description' => t('Aliases will all be redirected to the main domain if this is checked. Otherwise, all aliases will be accessible transparently.'),
'#title' => t('Redirect domain aliases to main domain'),
'#default_value' => isset($form['#node']->redirection) ? $form['#node']->redirection : variable_get('hosting_alias_redirection', FALSE),
'#weight' => 11,
);
return $form;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment