Changeset 26649
- Timestamp:
- Jan 12, 2014, 12:24:02 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/history.php
r26461 r26649 344 344 while ($row=pwg_db_fetch_assoc($result)) 345 345 { 346 $name_of_tag[ $row['id'] ] = '<a href="'.make_index_url( array('tags'=>array($row))).'">'.trigger_event("render_tag_name", $row['name'] ).'</a>';346 $name_of_tag[ $row['id'] ] = '<a href="'.make_index_url( array('tags'=>array($row))).'">'.trigger_event("render_tag_name", $row['name'], $row).'</a>'; 347 347 } 348 348 } -
trunk/admin/include/functions.php
r26461 r26649 2155 2155 { 2156 2156 $raw_name = $row['name']; 2157 $name = trigger_event('render_tag_name', $raw_name );2157 $name = trigger_event('render_tag_name', $raw_name, $row); 2158 2158 2159 2159 $taglist[] = array( -
trunk/admin/tags.php
r26461 r26649 219 219 while ($row = pwg_db_fetch_assoc($result)) 220 220 { 221 $name_of_tag[ $row['id'] ] = trigger_event('render_tag_name', $row['name'] );221 $name_of_tag[ $row['id'] ] = trigger_event('render_tag_name', $row['name'], $row); 222 222 } 223 223 … … 359 359 foreach ($orphan_tags as $tag) 360 360 { 361 $orphan_tag_names[] = trigger_event('render_tag_name', $tag['name'] );361 $orphan_tag_names[] = trigger_event('render_tag_name', $tag['name'], $tag); 362 362 } 363 363 … … 394 394 { 395 395 $raw_name = $tag['name']; 396 $tag['name'] = trigger_event('render_tag_name', $raw_name );396 $tag['name'] = trigger_event('render_tag_name', $raw_name, $tag); 397 397 $tag['counter'] = intval(@$tag_counters[ $tag['id'] ]); 398 398 $tag['U_VIEW'] = make_index_url(array('tags'=>array($tag))); -
trunk/include/functions_html.inc.php
r26461 r26649 464 464 .l10n('display photos linked to this tag') 465 465 .'">' 466 .trigger_event('render_tag_name', $page['tags'][$i]['name'] )466 .trigger_event('render_tag_name', $page['tags'][$i]['name'], $page['tags'][$i]) 467 467 .'</a>'; 468 468 -
trunk/include/functions_search.inc.php
r26461 r26649 583 583 foreach ( $all_tags as &$tag ) 584 584 { 585 $tag['name'] = trigger_event('render_tag_name', $tag['name'] );585 $tag['name'] = trigger_event('render_tag_name', $tag['name'], $tag); 586 586 } 587 587 } -
trunk/include/functions_tag.inc.php
r26461 r26649 90 90 { 91 91 $row['counter'] = $counter; 92 $row['name'] = trigger_event('render_tag_name', $row['name'] );92 $row['name'] = trigger_event('render_tag_name', $row['name'], $row); 93 93 $tags[] = $row; 94 94 } … … 112 112 while ($row = pwg_db_fetch_assoc($result)) 113 113 { 114 $row['name'] = trigger_event('render_tag_name', $row['name'] );114 $row['name'] = trigger_event('render_tag_name', $row['name'], $row); 115 115 $tags[] = $row; 116 116 } … … 278 278 while($row = pwg_db_fetch_assoc($result)) 279 279 { 280 $row['name'] = trigger_event('render_tag_name', $row['name'] );280 $row['name'] = trigger_event('render_tag_name', $row['name'], $row); 281 281 $tags[] = $row; 282 282 } -
trunk/tools/triggers_list.php
r26618 r26649 685 685 'name' => 'render_tag_name', 686 686 'type' => 'trigger_event', 687 'vars' => array('string', 'tag_name', 'array', 'tag'), 688 'files' => array('admin\include\functions.php (get_taglist)', 'admin\tags.php', 'admin\history.php', 'include\functions_tag.inc.php (get_available_tags, get_all_tags, get_common_tags)', 'include\functions_html.inc.php (get_tags_content_title)', 'include\functions_search.inc.php (get_qsearch_tags)'), 689 ), 690 array( 691 'name' => 'render_tag_url', 692 'type' => 'trigger_event', 687 693 'vars' => array('string', 'tag_name'), 688 'files' => array('admin\include\functions.php (get_taglist)', 'admin\tags.php', 'include\functions_tag.inc.php (get_available_tags, get_all_tags, get_common_tags)', 'index.php'), 689 ), 690 array( 691 'name' => 'render_tag_url', 692 'type' => 'trigger_event', 693 'vars' => array('string', 'tag_name'), 694 'files' => array('include\functions.php (tag_id_from_tag_name, create_tag)', 'admin\tags.php'), 694 'files' => array('admin\include\functions.php (tag_id_from_tag_name, create_tag)', 'admin\tags.php'), 695 695 ), 696 696 array(
Note: See TracChangeset
for help on using the changeset viewer.