aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-07-12 14:27:22 +0000
committerpatdenice <patdenice@piwigo.org>2008-07-12 14:27:22 +0000
commit3e8dd7da9b095d6e9a5ba69515cbeb075fc214b6 (patch)
tree277bda41e6d424a0995cba5a01648776b24cf398 /admin/cat_list.php
parentbe7bb150c2157948cc6e00324166059d03b14e16 (diff)
Add triggers for category name (render_category_name).
Add strip_tags for ALT attribute on category thumbnail. git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2432 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/cat_list.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 2b805b105..a54a70491 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -241,7 +241,12 @@ foreach ($categories as $category)
$template->assign_block_vars(
'categories.category',
array(
- 'NAME' => $category['name'],
+ 'NAME' =>
+ trigger_event(
+ 'render_category_name',
+ $category['name'],
+ 'admin_cat_list'
+ ),
'ID' => $category['id'],
'RANK' => $category['rank']*10,