Changeset 4263 for extensions/event_cats/main.inc.php
- Timestamp:
- Nov 14, 2009, 12:45:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/main.inc.php
r4247 r4263 48 48 $ec_ap_ok = defined('AP_DIR'); 49 49 50 if (!isset($ec_lists)) $ec_lists = array();51 52 50 include_once(EVNTCATS_PATH.'include/evntcats_main_funcs.inc.php'); 53 51 … … 265 263 global $lang, $template; 266 264 267 if (is_admin() and read_ec_conf('reg_display') == '0')268 change_ec_conf('reg_display', '1;'.$lang['Register']);269 265 if (!is_admin() and !is_a_guest()) { 270 266 $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'); 273 271 } 274 272 }
Note: See TracChangeset
for help on using the changeset viewer.