Changeset 4375

Show
Ignore:
Timestamp:
11/27/09 23:10:04 (3 years ago)
Author:
LucMorizur
Message:

[Event Cats] Continue help

Location:
extensions/event_cats
Files:
1 added
5 removed
6 modified

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/autolog_entries.inc.php

    r4342 r4375  
    223223$template->assign('ec_ap_ok2', (count($ec_lists['add_pages']) > 0)); 
    224224$template->assign('code_list', $code_list); 
    225 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_ent'); 
    226225 
    227226?> 
  • extensions/event_cats/admin/autolog_new.inc.php

    r4342 r4375  
    8282/****************************************************************************/ 
    8383 
    84 if ($ec_is_creation = ( 
     84$template->assign('ec_is_creation', ( 
    8585  $ec_default_action == 'duplicate_entry_submit' or 
    8686  $ec_default_action == 'duplicate_entry_ask' or 
    8787  $ec_default_action == 'create_ask' or 
    8888  $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'); 
     89)); 
    9390 
    9491$template->assign('ec_hidden_when_no_code', 
     
    10299  FROM `".IMAGE_CATEGORY_TABLE."` 
    103100"))) == 0)); 
    104 $template->assign('ec_is_creation',         $ec_is_creation); 
    105101$template->assign('ec_ap_ok',               defined('ADD_PAGES_TABLE')); 
    106102$template->assign('ec_lists',               $ec_lists); 
  • extensions/event_cats/admin/config.inc.php

    r4342 r4375  
    6969foreach ($ec_conf_default as $k => $v) { $ec_conf2[$k] = $ec_conf[$i]; $i++; } 
    7070$template->assign('ec_conf', $ec_conf2); 
    71 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_cfg'); 
    7271 
    7372?> 
  • extensions/event_cats/admin/duplication.inc.php

    r4336 r4375  
    7070$ec_conf2['duplic_display'] = read_ec_conf('duplic_display'); 
    7171$template->assign('ec_conf', $ec_conf2); 
    72 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=ec_help_dup'); 
    7372 
    7473?> 
  • extensions/event_cats/admin/evntcats_admin.php

    r4336 r4375  
    371371$template->assign('EVNTCATS_PATH',EVNTCATS_PATH); 
    372372$template->assign('RACINE_URL',ROOT_URL); 
     373$template->assign('U_HELP', get_root_url().'popuphelp.php?page=help'); 
    373374 
    374375if (isset($conf['ec_debug1'])) $template->assign('ec_debug1', array( 
  • extensions/event_cats/main.inc.php

    r4371 r4375  
    8484function ec_popup_help_content($popup_help_content, $page) { 
    8585  return ( 
    86    $help_content = (is_admin() and $page = '') ? 
     86   $help_content = (is_admin() and $page = 'help') ? 
    8787    load_language($page.'.html', EVNTCATS_PATH, array('return' => true)) : false 
    8888  ) ? $popup_help_content.$help_content : $popup_help_content;