- Timestamp:
- Mar 10, 2013, 5:12:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/include/subscribtions_page.inc.php
r21439 r21441 2 2 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 3 3 4 global $template, $conf, $page, $ pwg_loaded_plugins;4 global $template, $conf, $page, $user; 5 5 6 6 // check input parameters … … 213 213 case 'album-images': 214 214 case 'album': 215 $subscription['infos'] = get_category_infos($subscription['element_id'] );215 $subscription['infos'] = get_category_infos($subscription['element_id'], true, $user['id']); 216 216 break; 217 217 default: … … 238 238 } 239 239 240 if (isset($pwg_loaded_plugins['Comments_on_Albums']))241 {242 $template->assign('COA_ACTIVATED', true);243 }244 240 245 241 $template->assign(array( 246 242 'SUBSCRIBE_TO_PATH' => SUBSCRIBE_TO_PATH, 247 243 'SUBSCRIBE_TO_ABS_PATH' => realpath(SUBSCRIBE_TO_PATH).'/', 244 'COA_ACTIVATED' => defined('COA_ID'), 248 245 )); 249 246
Note: See TracChangeset
for help on using the changeset viewer.