mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
+6
-1
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user