From d8ae3d698c45b5a3a828951c09a25c3a1577de08 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 4 Nov 2021 00:37:43 +0100 Subject: [PATCH] cleanup ui --- index.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/index.php b/index.php index 1fbe244..5250dba 100644 --- a/index.php +++ b/index.php @@ -417,7 +417,7 @@ if ($part == 'updlinksnote') { } else { echo '

' . __('Links') . '

'; @@ -452,7 +452,7 @@ if ($part == 'updlinkscat') { } else { echo '

' . __('Links') . '

'; @@ -480,16 +480,11 @@ if ($part == 'links') { $links_redir = $core->adminurl->get('admin.plugin.cinecturlink2', $c2link_filter->values()); echo - '

' . - '' . __('Edit categories') . ' ' . - '

' . '

' . __('New Link') . ' ' . __('New Category') . '

'; + $core->adminurl->get('admin.plugin.cinecturlink2', ['part' => 'cats', 'redir' => $links_redir]) . + '">' . __('Edit categories') . '

'; if ($links->isEmpty() && !$c2link_filter->show()) { echo '

' . __('There is no link') . '

';