diff --git a/index.php b/index.php index 888cf1c..311a6be 100644 --- a/index.php +++ b/index.php @@ -139,18 +139,13 @@ $breadcrumb = [ html::escapeHTML($core->blog->name) => '', __('Enhance post content') => $p_url ]; -$top_menu = []; +$filters_combo = []; foreach($filters_id as $id => $name) { - - $active = ''; if ($default_part == $id) { $breadcrumb[__($filters_id[$default_part])] = ''; - $active = ' class="active"'; } - - $top_menu[] = - '' . __($name) . ''; + $filters_combo[__($name)] = $id; } # -- Display page -- @@ -172,9 +167,12 @@ dcPage::breadcrumb($breadcrumb) . dcPage::notices() . # Filters list -'