From b7709eae0dcb81df9eb668407b64f2cde38ba1f0 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 12 Jul 2008 14:57:24 +0000 Subject: Merge from branch-1_7 (r2432). Add triggers for category name (render_category_name). Add strip_tags for ALT attribute on category thumbnail. git-svn-id: http://piwigo.org/svn/trunk@2433 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'admin/cat_list.php') diff --git a/admin/cat_list.php b/admin/cat_list.php index b8407c2f8..2fa4ee25f 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -212,7 +212,12 @@ foreach ($categories as $category) $tpl_cat = array( - 'NAME' => $category['name'], + 'NAME' => + trigger_event( + 'render_category_name', + $category['name'], + 'admin_cat_list' + ), 'ID' => $category['id'], 'RANK' => $category['rank']*10, -- cgit v1.2.3