Feature: Vhost templates
Reworked the initial implementation by hpmewes (https://github.com/Froxlor/Froxlor/pull/233) with - bugfixes all over - added support for apache and lighttpd also - added an update sequence (instead of only modifying froxlor.sql) - added english language variables - added missing parts in admin_vhostsettings.php - added parameter replacements as available since PR 244
This commit is contained in:
@@ -150,6 +150,21 @@ return array(
|
||||
),
|
||||
'value' => array()
|
||||
),
|
||||
'vhost_usedefaultlocation' => array(
|
||||
'label' => $lng['admin']['vhostconfig']['vhost_usedefaultlocation']['title'],
|
||||
'desc' => $lng['admin']['vhostconfig']['vhost_usedefaultlocation']['desc'],
|
||||
'type' => 'checkbox',
|
||||
'values' => array(
|
||||
array ('label' => $lng['panel']['yes'], 'value' => '1')
|
||||
),
|
||||
'value' => array()
|
||||
),
|
||||
'vhostsettingid' => array(
|
||||
'visible' => ($userinfo['change_serversettings'] == '1' ? true : false),
|
||||
'label' => $lng['admin']['vhostsettings']['vhostsettings'],
|
||||
'type' => 'select',
|
||||
'select_var' => $vhostconfigs
|
||||
),
|
||||
'specialsettings' => array(
|
||||
'visible' => ($userinfo['change_serversettings'] == '1' ? true : false),
|
||||
'style' => 'align-top',
|
||||
|
||||
Reference in New Issue
Block a user