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') . '

';