bugfix domain-formfields (again)
This commit is contained in:
@@ -24,10 +24,15 @@ return array(
|
|||||||
'title' => $lng['domains']['subdomain_add'],
|
'title' => $lng['domains']['subdomain_add'],
|
||||||
'image' => 'icons/domain_add.png',
|
'image' => 'icons/domain_add.png',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'domain' => array(
|
'subdomain' => array(
|
||||||
'label' => $lng['domains']['domainname'],
|
'label' => $lng['domains']['domainname'],
|
||||||
'type' => 'text'
|
'type' => 'text'
|
||||||
),
|
),
|
||||||
|
'domain' => array(
|
||||||
|
'label' => '@TODO up to subdomain-part',
|
||||||
|
'type' => 'select',
|
||||||
|
'select_var' => $domains
|
||||||
|
),
|
||||||
'alias' => array(
|
'alias' => array(
|
||||||
'label' => $lng['domains']['aliasdomain'],
|
'label' => $lng['domains']['aliasdomain'],
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
@@ -42,8 +47,7 @@ return array(
|
|||||||
'url' => array(
|
'url' => array(
|
||||||
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
|
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
|
||||||
'label' => $lng['panel']['urloverridespath'],
|
'label' => $lng['panel']['urloverridespath'],
|
||||||
'type' => 'text',
|
'type' => 'text'
|
||||||
'value' => $urlvalue
|
|
||||||
),
|
),
|
||||||
'redirectcode' => array(
|
'redirectcode' => array(
|
||||||
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),
|
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name">{$lng['panel']['urloverridespath']}:</td>
|
<td class="main_field_name">{$lng['panel']['urloverridespath']}:</td>
|
||||||
<td class="main_field_display"><input type="text" class="text" name="url" value="{$urlvalue}" size="30" /></td>
|
<td class="main_field_display"><input type="text" class="text" name="url" value="" size="30" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<if $settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1'>
|
<if $settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1'>
|
||||||
|
|||||||
Reference in New Issue
Block a user