Ignore:
Timestamp:
Aug 9, 2012, 10:48:01 PM (12 years ago)
Author:
mistic100
Message:

clean definition of USER_COLLEC_PUBLIC
missing one template var for themes compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/events.inc.php

    r17320 r17519  
    1515{
    1616  global $tokens, $page, $conf;
    17  
    18   define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');
    1917
    2018  if ($tokens[0] == 'collections')
     
    204202  $max = 6;
    205203 
    206   if (!defined('USER_COLLEC_PUBLIC')) define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');
    207  
    208204  global $template, $conf, $user, $UserCollection;
    209205  $menu = &$menu_ref_arr[0];
Note: See TracChangeset for help on using the changeset viewer.