- fix two TODO's where a second field has to be stuck next to the previous

This commit is contained in:
Michael Kaufmann (d00p)
2011-02-24 10:07:38 +01:00
parent 6837852f52
commit ca9128bdbf
3 changed files with 39 additions and 15 deletions

View File

@@ -26,10 +26,12 @@ return array(
'fields' => array(
'subdomain' => array(
'label' => $lng['domains']['domainname'],
'type' => 'text'
'type' => 'text',
'has_nextto' => true
),
'domain' => array(
'label' => '@TODO up to subdomain-part',
'next_to' => 'subdomain',
'next_to_prefix' => ' . ',
'type' => 'select',
'select_var' => $domains
),
@@ -54,7 +56,7 @@ return array(
'label' => $lng['domains']['redirectifpathisurl'],
'desc' => $lng['domains']['redirectifpathisurlinfo'],
'type' => 'select',
'select_var' => $redirectcode
'select_var' => isset($redirectcode) ? $redirectcode : null
),
'ssl_redirect' => array(
'visible' => ($settings['system']['use_ssl'] == '1' ? true : false),