68 lines
2.2 KiB
PHP
68 lines
2.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is part of the Froxlor project.
|
|
* Copyright (c) 2010 the Froxlor Team (see authors).
|
|
*
|
|
* For the full copyright and license information, please view the COPYING
|
|
* file that was distributed with this source code. You can also view the
|
|
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
|
|
*
|
|
* @copyright (c) the authors
|
|
* @author Froxlor team <team@froxlor.org> (2010-)
|
|
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
|
|
* @package Formfields
|
|
*
|
|
*/
|
|
return array(
|
|
'domain_ssleditor' => array(
|
|
'title' => $lng['panel']['ssleditor'],
|
|
'image' => 'fa-solid fa-lock',
|
|
'sections' => array(
|
|
'section_a' => array(
|
|
'title' => 'SSL certificates',
|
|
'image' => 'icons/ssl.png',
|
|
'fields' => array(
|
|
'domainname' => array(
|
|
'label' => $lng['domains']['domainname'],
|
|
'type' => 'label',
|
|
'value' => $result_domain['domain']
|
|
),
|
|
'ssl_cert_file' => array(
|
|
'label' => $lng['admin']['ipsandports']['ssl_cert_file_content'],
|
|
'desc' => $lng['admin']['ipsandports']['ssl_paste_description'],
|
|
'type' => 'textarea',
|
|
'cols' => 100,
|
|
'rows' => 15,
|
|
'value' => $result['ssl_cert_file']
|
|
),
|
|
'ssl_key_file' => array(
|
|
'label' => $lng['admin']['ipsandports']['ssl_key_file_content'],
|
|
'desc' => $lng['admin']['ipsandports']['ssl_paste_description'],
|
|
'type' => 'textarea',
|
|
'cols' => 100,
|
|
'rows' => 15,
|
|
'value' => $result['ssl_key_file']
|
|
),
|
|
'ssl_cert_chainfile' => array(
|
|
'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile_content'],
|
|
'desc' => $lng['admin']['ipsandports']['ssl_paste_description'] . $lng['admin']['ipsandports']['ssl_cert_chainfile_content_desc'],
|
|
'type' => 'textarea',
|
|
'cols' => 100,
|
|
'rows' => 15,
|
|
'value' => $result['ssl_cert_chainfile']
|
|
),
|
|
'ssl_ca_file' => array(
|
|
'label' => $lng['admin']['ipsandports']['ssl_ca_file_content'],
|
|
'desc' => $lng['admin']['ipsandports']['ssl_paste_description'] . $lng['admin']['ipsandports']['ssl_ca_file_content_desc'],
|
|
'type' => 'textarea',
|
|
'cols' => 100,
|
|
'rows' => 15,
|
|
'value' => $result['ssl_ca_file']
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
);
|