Changeset 26854 for extensions/UserCollections/include
- Timestamp:
- Jan 18, 2014, 1:55:31 PM (11 years ago)
- Location:
- extensions/UserCollections/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/collections.inc.php
r25678 r26854 267 267 // modify page title 268 268 $template->concat('TITLE', 269 $conf['level_separator'] . trigger_ change('render_category_name', $infos['NAME'])269 $conf['level_separator'] . trigger_event('render_category_name', $infos['NAME']) 270 270 ); 271 271 272 272 // render description 273 273 $template->assign('CONTENT_DESCRIPTION', 274 trigger_ change('render_category_description', nl2br($infos['COMMENT']))274 trigger_event('render_category_description', nl2br($infos['COMMENT'])) 275 275 ); 276 276 } … … 369 369 // render description 370 370 $template->assign('CONTENT_DESCRIPTION', 371 trigger_ change('render_category_description', nl2br($col['COMMENT']))371 trigger_event('render_category_description', nl2br($col['COMMENT'])) 372 372 ); 373 373 } … … 377 377 378 378 $template->concat('TITLE', 379 $conf['level_separator'] . trigger_ change('render_category_name', $col['NAME']) .379 $conf['level_separator'] . trigger_event('render_category_name', $col['NAME']) . 380 380 ' (' . l10n('by %s', get_username($collection->getParam('user_id'))) . ')' 381 381 ); -
extensions/UserCollections/include/display_collections.inc.php
r25678 r26854 99 99 'URL' => USER_COLLEC_PUBLIC.'edit/'.$category['id'], 100 100 'CAPTION_NB_IMAGES' => empty($counter) ? l10n('%d photo', 0) : $counter, 101 'NAME' => trigger_ change('render_category_name', $category['name']),102 'DESCRIPTION' => trigger_ change('render_category_description', $category['comment'], 'subcatify_category_description'),101 'NAME' => trigger_event('render_category_name', $category['name']), 102 'DESCRIPTION' => trigger_event('render_category_description', $category['comment'], 'subcatify_category_description'), 103 103 'INFO_DATES' => format_date($category['date_creation'], true), 104 104 'U_DELETE' => add_url_params(USER_COLLEC_PUBLIC, array('action'=>'delete','col_id'=>$category['id'])), … … 108 108 } 109 109 110 $derivative_params = trigger_ change('get_index_album_derivative_params', ImageStdParams::get_by_type(IMG_THUMB) );110 $derivative_params = trigger_event('get_index_album_derivative_params', ImageStdParams::get_by_type(IMG_THUMB) ); 111 111 $template->assign(array( 112 112 'maxRequests' => $conf['max_requests'], -
extensions/UserCollections/include/events.inc.php
r26176 r26854 115 115 foreach ($collections as &$col) 116 116 { 117 $col["name"] = trigger_ change('render_category_name', $col["name"]);117 $col["name"] = trigger_event('render_category_name', $col["name"]); 118 118 } 119 119 unset($col); … … 185 185 foreach ($collections as &$col) 186 186 { 187 $col[ "name"] = trigger_change('render_category_name', $col["name"]);187 $col['name'] = trigger_event('render_category_name', $col["name"]); 188 188 } 189 189 unset($col); … … 240 240 for ($i=0; $i<$max && $i<count($collections); $i++) 241 241 { 242 $collections[$i]['name'] = trigger_ change('render_category_name', $collections[$i]['name']);242 $collections[$i]['name'] = trigger_event('render_category_name', $collections[$i]['name']); 243 243 $collections[$i]['u_edit'] = USER_COLLEC_PUBLIC.'edit/'.$collections[$i]['id']; 244 244 $data['collections'][] = $collections[$i]; -
extensions/UserCollections/include/functions.inc.php
r25678 r26854 16 16 global $conf; 17 17 18 return trigger_ change('get_category_preferred_image_orders', array(18 return trigger_event('get_category_preferred_image_orders', array( 19 19 array(l10n('Date added to collection, new → old'), 'add_date DESC', true), 20 20 array(l10n('Date added to collection, old → new'), 'add_date ASC', true),
Note: See TracChangeset
for help on using the changeset viewer.