Ignore:
Timestamp:
Nov 14, 2009, 12:45:42 AM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Continue duplication management

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/main.inc.php

    r4247 r4263  
    4848$ec_ap_ok = defined('AP_DIR');
    4949
    50 if (!isset($ec_lists)) $ec_lists = array();
    51 
    5250include_once(EVNTCATS_PATH.'include/evntcats_main_funcs.inc.php');
    5351
     
    265263  global $lang, $template;
    266264 
    267   if (is_admin() and read_ec_conf('reg_display') == '0')
    268    change_ec_conf('reg_display', '1;'.$lang['Register']);
    269265  if (!is_admin() and !is_a_guest()) {
    270266    $template->assign( 'U_REGISTER', get_root_url().'register.php');
    271     $lang['Create a new account'] = l10n('Duplicate account');
    272     $lang['Register'] = l10n('Duplicate');
     267    if (isset($lang['Duplicate account']))
     268     $lang['Create a new account'] = l10n('Duplicate account');
     269    if (isset($lang['Register']))
     270     $lang['Register'] = l10n('Duplicate');
    273271  }
    274272}
Note: See TracChangeset for help on using the changeset viewer.