Ignore:
Timestamp:
Oct 15, 2009, 10:51:07 PM (15 years ago)
Author:
LucMorizur
Message:

[Event Cats] Mainly add header & footer, add choose new/old code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/evntcats_admin.php

    r4027 r4048  
    139139$template->assign('RACINE_URL',ROOT_URL);
    140140
    141 $template->assign('GET',str_from_var($_GET));
    142 $template->assign('POST',str_from_var($_POST));
    143 $template->assign('test1tpl',str_from_var($ec_lists));
    144 $template->assign('test2tpl',str_from_var($page['errors']));
    145 if (isset($code_list)) $template->assign('test3tpl',str_from_var($code_list));
     141if (isset($conf['ec_debug1'])) $template->assign('ec_debug1', array(
     142  'GET'       => str_from_var($_GET),
     143  'POST'      => str_from_var($_POST),
     144  'page'      => str_from_var($page),
     145  'ec_lists'  => (isset($ec_lists)) ? str_from_var($ec_lists) : '(unset)',
     146  'code_list' => (isset($code_list)) ? str_from_var($code_list) : '(unset)',
     147));
    146148
    147149$template->set_filenames(array('evntcats_admin_content' => dirname(__FILE__).'/template/'.$page['tab'].'.tpl'));
Note: See TracChangeset for help on using the changeset viewer.