- render_category_description and render_category_literal_description events refactoring

git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-10-02 05:38:54 +00:00
parent 00d39fe8ba
commit 2889cbc4eb
6 changed files with 46 additions and 29 deletions
-5
View File
@@ -215,11 +215,6 @@ if (count($categories) > 0)
update_cats_with_filtered_data($categories);
}
// add default event handler for rendering category literal description
add_event_handler('render_category_literal_description',
create_function('$d',
'return strip_tags($d, \'<a><br><p><b><i><small><strong><font>\');'));
trigger_action('loc_begin_index_category_thumbnails', $categories);
if ($conf['subcatify'])
{