Add description field to FTP accounts, fixes #1340

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-02 22:45:30 +01:00
parent 15515f2840
commit 0c2aa8de45
11 changed files with 48 additions and 9 deletions

View File

@@ -34,6 +34,10 @@ return array(
'type' => 'select',
'select_var' => (isset($domains) ? $domains : ""),
),
'ftp_description' => array(
'label' => $lng['panel']['ftpdesc'] = 'FTP description',
'type' => 'text'
),
'path' => array(
'label' => $lng['panel']['path'],
'desc' => (Settings::Get('panel.pathedit') != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '<br />'.$pathSelect['value'] : ''),

View File

@@ -28,6 +28,11 @@ return array(
'type' => 'label',
'value' => $result['username'],
),
'ftp_description' => array(
'label' => $lng['panel']['ftpdesc'] = 'FTP description',
'type' => 'text',
'value' => $result['description']
),
'path' => array(
'label' => $lng['panel']['path'],
'desc' => (Settings::Get('panel.pathedit') != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '<br />'.$pathSelect['value'] : ''),

View File

@@ -51,6 +51,6 @@ define('TABLE_PANEL_DOMAIN_SSL_SETTINGS', 'domain_ssl_settings');
define('TABLE_DOMAINTOIP', 'panel_domaintoip');
// VERSION INFO
$version = '0.9.32-dev3';
$version = '0.9.32-dev4';
$dbversion = '2';
$branding = '';