* @license https://files.froxlor.org/misc/COPYING.txt GPLv2 */ use Froxlor\UI\Listing; return [ 'filetpl_list' => [ 'title' => lng('admin.templates.filetemplates'), 'icon' => 'fa-solid fa-file-lines', 'self_overview' => ['section' => 'templates', 'page' => 'email'], 'default_sorting' => ['template' => 'asc'], 'no_search' => true, 'columns' => [ 'template' => [ 'label' => lng('admin.templates.action'), 'field' => 'template' ], ], 'visible_columns' => Listing::getVisibleColumnsForListing('filetpl_list', [ 'template' ]), 'actions' => [ 'edit' => [ 'icon' => 'fa-solid fa-edit', 'title' => lng('panel.edit'), 'href' => [ 'section' => 'templates', 'page' => $page, 'action' => 'editf', 'id' => ':id' ], ], 'delete' => [ 'icon' => 'fa-solid fa-trash', 'title' => lng('panel.delete'), 'class' => 'btn-danger', 'href' => [ 'section' => 'templates', 'page' => $page, 'action' => 'deletef', 'id' => ':id' ], ], ], ] ];