diff --git a/CHANGELOG.md b/CHANGELOG.md index 8960274..56f65e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ 0.8.1 - dev - [ ] update public templates -- [ ] fix javascript +- fix javascript +- fix modal - add user pref on sort filters (dc 2.20) 0.9 - 2021.09.11 diff --git a/index.php b/index.php index 2119d48..8a65c76 100644 --- a/index.php +++ b/index.php @@ -496,9 +496,6 @@ if ($part == "links") { form::hidden('p', 'cinecturlink2') . form::hidden('part', 'links') ); - $hidden = $c2link_filter->values(true); - unset($hidden['part']); - $links_list->display($c2link_filter->page, $c2link_filter->nb, '
' . @@ -510,7 +507,7 @@ if ($part == "links") { '

' . form::combo('part', $action_combo) . '

' . - $core->adminurl->getHiddenFormFields('admin.plugin.cinecturlink2', $hidden) . + $core->adminurl->getHiddenFormFields('admin.plugin.cinecturlink2', array_diff_key($c2link_filter->values(true), ['part' => ''])) . form::hidden(['redir'], $links_redir) . $core->formNonce() . '' . @@ -556,7 +553,10 @@ if ($part == "link") {

' . - '

' . __('Go to media manager to add image to cinecturlink path.') . '

'; + '

' . + __('Go to media manager to add image to cinecturlink path.') . + '

'; } echo '