diff --git a/bl-plugins/categories/languages/en.json b/bl-plugins/categories/languages/en.json index 0b266caa..fe5d5b02 100644 --- a/bl-plugins/categories/languages/en.json +++ b/bl-plugins/categories/languages/en.json @@ -4,6 +4,5 @@ "name": "Categories", "description": "Shows all categories on the system on the sidebar." }, - "categories-without-content": "Categories without content", - "show-the-categories-without-content": "Show the categories without content." + "hide-categories-without-content": "Hide Categories without content" } diff --git a/bl-plugins/categories/plugin.php b/bl-plugins/categories/plugin.php index b545621f..b5cee902 100644 --- a/bl-plugins/categories/plugin.php +++ b/bl-plugins/categories/plugin.php @@ -7,7 +7,7 @@ class pluginCategories extends Plugin { // Fields and default values for the database of this plugin $this->dbFields = array( 'label'=>'Categories', - 'showCero'=>false + 'hideCero'=>true ); } @@ -23,12 +23,11 @@ class pluginCategories extends Plugin { $html .= ''; $html .= '
'; - $html .= ''; - $html .= ''; + $html .= ''; + $html .= ''; $html .= ''; - $html .= ''.$Language->get('Show the categories without content').''; $html .= '
'; return $html; @@ -47,9 +46,9 @@ class pluginCategories extends Plugin { $html .= '