bugfix domain-formfields (again)

This commit is contained in:
Michael Kaufmann (d00p)
2011-02-12 18:27:32 +01:00
parent 7b01cb47de
commit 8e83c5f788
2 changed files with 8 additions and 4 deletions

View File

@@ -24,10 +24,15 @@ return array(
'title' => $lng['domains']['subdomain_add'],
'image' => 'icons/domain_add.png',
'fields' => array(
'domain' => array(
'subdomain' => array(
'label' => $lng['domains']['domainname'],
'type' => 'text'
),
'domain' => array(
'label' => '@TODO up to subdomain-part',
'type' => 'select',
'select_var' => $domains
),
'alias' => array(
'label' => $lng['domains']['aliasdomain'],
'type' => 'select',
@@ -42,8 +47,7 @@ return array(
'url' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['urloverridespath'],
'type' => 'text',
'value' => $urlvalue
'type' => 'text'
),
'redirectcode' => array(
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),