Changeset 27125 for extensions/PWG_Stuffs
- Timestamp:
- Feb 1, 2014, 2:24:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/modules/Tags/main.inc.php
r19067 r27125 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 5 global $conf, $template, $pwg_loaded_plugins ;5 global $conf, $template, $pwg_loaded_plugins, $tags, $page;; 6 6 7 7 function counter_compare($a, $b) … … 27 27 if (isset($pwg_loaded_plugins['typetags'])) 28 28 { 29 $typetags = true;30 $template->assign('display_mode', $datas[0]);31 29 if ($conf['TypeTags']['show_all']) 32 30 { … … 152 150 } 153 151 154 if (isset($ typetags))152 if (isset($pwg_loaded_plugins['typetags'])) 155 153 { 154 $page['display_mode'] = $datas[0]; 156 155 typetags_tags(); 156 157 157 if ($conf['TypeTags']['show_all']) 158 158 { 159 add_event_handler('render_tag_name', 'typetags_render', 0 );159 add_event_handler('render_tag_name', 'typetags_render', 0, 2); 160 160 } 161 161 }
Note: See TracChangeset
for help on using the changeset viewer.