Changeset 17519 for extensions/UserCollections/include
- Timestamp:
- Aug 9, 2012, 10:48:01 PM (12 years ago)
- Location:
- extensions/UserCollections/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/UserCollection.class.php
r17178 r17519 292 292 'PUBLIC' => (bool)$this->data['public'], 293 293 'DATE_CREATION' => format_date($this->data['date_creation'], true), 294 'U_PUBLIC' => get_absolute_root_url().'collection/view/'.$this->data['public_id'],294 'U_PUBLIC' => USER_COLLEC_PUBLIC . 'view/'.$this->data['public_id'], 295 295 'IS_TEMP' => $this->data['name'] == 'temp', 296 296 ); -
extensions/UserCollections/include/collections.inc.php
r17178 r17519 289 289 } 290 290 291 $template->assign('USER_COLLEC_PATH', USER_COLLEC_PATH); 291 $template->assign(array( 292 'USER_COLLEC_PATH' => USER_COLLEC_PATH, 293 'USER_COLLEC_ABS_PATH' => realpath(USER_COLLEC_PATH).'/', 294 )); 292 295 293 296 -
extensions/UserCollections/include/events.inc.php
r17320 r17519 15 15 { 16 16 global $tokens, $page, $conf; 17 18 define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');19 17 20 18 if ($tokens[0] == 'collections') … … 204 202 $max = 6; 205 203 206 if (!defined('USER_COLLEC_PUBLIC')) define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');207 208 204 global $template, $conf, $user, $UserCollection; 209 205 $menu = &$menu_ref_arr[0];
Note: See TracChangeset
for help on using the changeset viewer.