diff --git a/admin_ipsandports.php b/admin_ipsandports.php index efe4d8e2..c5a92832 100644 --- a/admin_ipsandports.php +++ b/admin_ipsandports.php @@ -18,10 +18,6 @@ */ define('AREA', 'admin'); - -/** - * Include our init.php, which manages Sessions, Language etc. - */ require ("./lib/init.php"); if (isset($_POST['id'])) { diff --git a/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php b/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php index bda86996..35a7fda1 100644 --- a/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php +++ b/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php @@ -126,7 +126,8 @@ return array( 'type' => 'text' ), 'ssl_cert_chainfile' => array( - 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'], + 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['title'], + 'desc' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['description'], 'type' => 'text' ) ) diff --git a/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php b/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php index 7fcd64fb..32f87e38 100644 --- a/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php +++ b/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php @@ -134,7 +134,8 @@ return array( 'value' => $result['ssl_ca_file'] ), 'ssl_cert_chainfile' => array( - 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'], + 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['title'], + 'desc' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['description'], 'type' => 'text', 'value' => $result['ssl_cert_chainfile'] )