(2010-) * @license GPLv2 https://files.froxlor.org/misc/COPYING.txt * @package Formfields * */ use Froxlor\Settings; return [ 'backup' => [ 'title' => lng('extras.backup'), 'image' => 'fa-solid fa-server', 'sections' => [ 'section_a' => [ 'title' => lng('extras.backup'), 'image' => 'icons/backup_big.png', 'fields' => [ 'path' => [ 'label' => lng('panel.backuppath.title'), 'desc' => lng('panel.backuppath.description') . '
' . (Settings::Get('panel.pathedit') != 'Dropdown' ? lng('panel.pathDescription') : null), 'type' => $pathSelect['type'], 'select_var' => $pathSelect['select_var'] ?? '', 'value' => $pathSelect['value'], 'note' => $pathSelect['note'] ?? '', ], 'path_protection_info' => [ 'label' => lng('extras.path_protection_label'), 'type' => 'infotext', 'value' => lng('extras.path_protection_info'), 'classes' => 'fw-bold text-danger' ], 'backup_web' => [ 'label' => lng('extras.backup_web'), 'type' => 'checkbox', 'value' => '1', 'checked' => true ], 'backup_mail' => [ 'label' => lng('extras.backup_mail'), 'type' => 'checkbox', 'value' => '1', 'checked' => true ], 'backup_dbs' => [ 'label' => lng('extras.backup_dbs'), 'type' => 'checkbox', 'value' => '1', 'checked' => true ] ] ] ] ] ];