* @license https://files.froxlor.org/misc/COPYING.txt GPLv2 */ use Froxlor\UI\Callbacks\Ftp; use Froxlor\UI\Callbacks\Text; use Froxlor\UI\Listing; return [ 'export_list' => [ 'title' => lng('error.customerhasongoingexportjob'), 'icon' => 'fa-solid fa-server', 'self_overview' => ['section' => 'extras', 'page' => 'export'], 'default_sorting' => ['destdir' => 'asc'], 'columns' => [ 'destdir' => [ 'label' => lng('panel.path'), 'field' => 'data.destdir', 'callback' => [Ftp::class, 'pathRelative'] ], 'pgp_public_key' => [ 'label' => lng('panel.pgp_public_key'), 'field' => 'data.pgp_public_key', 'callback' => [Text::class, 'boolean'] ], 'dump_web' => [ 'label' => lng('extras.dump_web'), 'field' => 'data.dump_web', 'callback' => [Text::class, 'boolean'], ], 'dump_mail' => [ 'label' => lng('extras.dump_mail'), 'field' => 'data.dump_mail', 'callback' => [Text::class, 'boolean'], ], 'dump_dbs' => [ 'label' => lng('extras.dump_dbs'), 'field' => 'data.dump_dbs', 'callback' => [Text::class, 'boolean'], ] ], 'visible_columns' => Listing::getVisibleColumnsForListing('export_list', [ 'destdir', 'pgp_public_key', 'dump_web', 'dump_mail', 'dump_dbs' ]), 'actions' => [ 'delete' => [ 'icon' => 'fa-solid fa-trash', 'title' => lng('panel.abort'), 'class' => 'btn-warning', 'href' => [ 'section' => 'extras', 'page' => 'export', 'action' => 'abort', 'id' => ':id' ], ] ] ] ];