mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Merge from branch-1_7: 2174
Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php. Add render_page_banner trigger. git-svn-id: http://piwigo.org/svn/trunk@2175 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -206,7 +206,8 @@ if ('categories' == $page['section'])
|
||||
'comment' =>
|
||||
trigger_event(
|
||||
'render_category_description',
|
||||
$page['category']['comment']
|
||||
$page['category']['comment'],
|
||||
'main_page_category_description'
|
||||
),
|
||||
'title' =>
|
||||
get_cat_display_name($page['category']['upper_names'], '', false),
|
||||
|
||||
Reference in New Issue
Block a user