Changeset 4336
- Timestamp:
- Nov 22, 2009, 12:25:19 AM (14 years ago)
- Location:
- extensions/event_cats
- Files:
-
- 5 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/autolog_entries.inc.php
r4329 r4336 223 223 $template->assign('ec_ap_ok2', (count($ec_lists['add_pages']) > 0)); 224 224 $template->assign('code_list', $code_list); 225 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_ent'); 225 226 226 227 ?> -
extensions/event_cats/admin/autolog_new.inc.php
r4329 r4336 82 82 /****************************************************************************/ 83 83 84 if ($ec_is_creation = ( 85 $ec_default_action == 'duplicate_entry_submit' or 86 $ec_default_action == 'duplicate_entry_ask' or 87 $ec_default_action == 'create_ask' or 88 $ec_default_action == 'create' 89 )) 90 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_new'); 91 else 92 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_mod'); 93 84 94 $template->assign('ec_hidden_when_no_code', 85 95 (count($ec_lists['duplicable_codes']) == 0) ? 'style = "display:none;"' : '' … … 92 102 FROM `".IMAGE_CATEGORY_TABLE."` 93 103 "))) == 0)); 94 $template->assign('ec_is_creation', ( 95 $ec_default_action == 'duplicate_entry_submit' or 96 $ec_default_action == 'duplicate_entry_ask' or 97 $ec_default_action == 'create_ask' or 98 $ec_default_action == 'create' 99 ) 100 ); 104 $template->assign('ec_is_creation', $ec_is_creation); 101 105 $template->assign('ec_ap_ok', EC_AP_OK); 102 106 $template->assign('ec_lists', $ec_lists); -
extensions/event_cats/admin/config.inc.php
r4329 r4336 69 69 foreach ($ec_conf_default as $k => $v) { $ec_conf2[$k] = $ec_conf[$i]; $i++; } 70 70 $template->assign('ec_conf', $ec_conf2); 71 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_cfg'); 71 72 72 73 ?> -
extensions/event_cats/admin/duplication.inc.php
r4329 r4336 70 70 $ec_conf2['duplic_display'] = read_ec_conf('duplic_display'); 71 71 $template->assign('ec_conf', $ec_conf2); 72 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_dup'); 72 73 73 74 ?> -
extensions/event_cats/admin/evntcats_admin.php
r4333 r4336 346 346 $my_base_url.'&tab=config'); 347 347 348 $template->assign(349 array('U_HELP' => get_root_url().'popuphelp.php?page=event_cats'));350 351 348 $template->assign('EVNTCATS_URLS', array( 352 349 'ROOT' => EVNTCATS_PATH, -
extensions/event_cats/main.inc.php
r4330 r4336 97 97 function ec_popup_help_content($popup_help_content, $page) { 98 98 return ( 99 $help_content = ($page == 'event_cats' and is_admin()) ? 100 load_language('help.html', EVNTCATS_PATH, array('return' => true)) : false 99 $help_content = (is_admin() and in_array($page, array( 100 'ec_help_new', 'ec_help_mod', 'ec_help_ent', 'ec_help_cfg', 'ec_help_dup' 101 ))) ? 102 load_language($page.'.html', EVNTCATS_PATH, array('return' => true)) : false 101 103 ) ? $popup_help_content.$help_content : $popup_help_content; 102 104 } … … 290 292 ) 291 293 ) { 292 $template->assign( 294 $template->assign('U_REGISTER', get_root_url().'register.php'); 293 295 if ( 294 296 read_ec_conf('duplic_display') == '1' or ( … … 297 299 ) 298 300 ) { 299 $lang['Register'] = l10n('Duplicate');300 $lang['Create a new account'] = l10n('Create a new account with same properties');301 $lang['Register'] = $lang['Duplicate']; 302 $lang['Create a new account'] = $lang['Create a new account with same properties']; 301 303 } 302 304 }
Note: See TracChangeset
for help on using the changeset viewer.