Fix a lot of single issues and overhaul the language settings
see docs/NEWS and the plugin/changelog files for details
This commit is contained in:
2
plugins/serendipity_plugin_categories/ChangeLog
Normal file
2
plugins/serendipity_plugin_categories/ChangeLog
Normal file
@ -0,0 +1,2 @@
|
||||
2.05.2
|
||||
* Strip the translation tags in the category links if multilingual plugin is active
|
@ -15,7 +15,7 @@ class serendipity_plugin_categories extends serendipity_plugin
|
||||
$propbag->add('description', CATEGORY_PLUGIN_DESC);
|
||||
$propbag->add('stackable', true);
|
||||
$propbag->add('author', 'Serendipity Team');
|
||||
$propbag->add('version', '2.05.2');
|
||||
$propbag->add('version', '2.05.3');
|
||||
$propbag->add('configuration', array('title', 'authorid', 'parent_base', 'hide_parent', 'image', 'sort_order', 'sort_method', 'allow_select', 'hide_parallel', 'show_count', 'show_all', 'smarty'));
|
||||
$propbag->add('groups', array('FRONTEND_VIEWS'));
|
||||
}
|
||||
@ -255,6 +255,9 @@ class serendipity_plugin_categories extends serendipity_plugin
|
||||
}
|
||||
}
|
||||
|
||||
// strip language tags if multilingual plugin is active
|
||||
serendipity_plugin_api::hook_event('multilingual_strip_langs',$cat['category_name']);
|
||||
|
||||
$categories[$cid]['feedCategoryURL'] = serendipity_feedCategoryURL($cat, 'serendipityHTTPPath');
|
||||
$categories[$cid]['categoryURL'] = serendipity_categoryURL($cat, 'serendipityHTTPPath');
|
||||
$categories[$cid]['paddingPx'] = $cat['depth']*6;
|
||||
|
Reference in New Issue
Block a user