diff --git a/dns_editor.php b/dns_editor.php index 8c2c2c42..84b62e34 100644 --- a/dns_editor.php +++ b/dns_editor.php @@ -132,7 +132,7 @@ UI::view('user/dns-editor.html.twig', [ 'action' => 'edit', 'id' => $domain_id ]), - 'label' => lng('panel.edit'), + 'label' => lng('admin.domain_edit'), 'icon' => 'fa-solid fa-pen' ], [ diff --git a/lib/tablelisting/tablelisting.dns.php b/lib/tablelisting/tablelisting.dns.php index 3357e0ae..1f2ea937 100644 --- a/lib/tablelisting/tablelisting.dns.php +++ b/lib/tablelisting/tablelisting.dns.php @@ -33,6 +33,7 @@ return [ 'description' => $domain, 'icon' => 'fa-solid fa-globe', 'self_overview' => ['section' => 'domains', 'page' => 'domaindnseditor'], + 'default_sorting' => ['record' => 'asc'], 'columns' => [ 'record' => [ 'label' => 'Record', diff --git a/ssl_editor.php b/ssl_editor.php index 51d74444..21871190 100644 --- a/ssl_editor.php +++ b/ssl_editor.php @@ -96,6 +96,17 @@ if ($action == '' || $action == 'view') { 'formdata' => $ssleditor_data['domain_ssleditor'], 'editid' => $id, 'actions_links' => [ + [ + 'class' => 'btn-secondary', + 'href' => $linker->getLink([ + 'section' => 'domains', + 'page' => 'domains', + 'action' => 'edit', + 'id' => $id + ]), + 'label' => lng('admin.domain_edit'), + 'icon' => 'fa-solid fa-pen' + ], [ 'class' => 'btn-outline-primary', 'href' => $linker->getLink(['section' => 'domains', 'page' => 'overview']),