Changeset 8956 for extensions/event_cats/admin/evntcats_admin.php
- Timestamp:
- Jan 28, 2011, 8:56:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/evntcats_admin.php
r8061 r8956 36 36 // +-----------------------------------------------------------------------+ 37 37 38 // Keeps file coded in UTF-8 without BOM : é38 // Keeps file coded in UTF-8 without BOM : é 39 39 40 40 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 213 213 SET `arg2` = $c 214 214 WHERE `arg1` = 3 215 AND `code` IS NULL216 215 LIMIT 1 ; 217 216 " : " … … 238 237 SET `arg2` = $c 239 238 WHERE `arg1` = 3 240 AND `code` IS NULL241 239 LIMIT 1 ; 242 240 " : " … … 381 379 /* 382 380 print '<pre>'; 383 //print_r(' ROOT_URL : '.ROOT_URL.'<br>EVNTCATS_PATH : '.EVNTCATS_PATH);384 print(' ROOT_URL + ... : '.preg_match('/(\d+\.\d+)\.(\d+)/', PHPWG_VERSION, $matches));385 print('<br >');381 //print_r('EC_ROOT_URL : '.EC_ROOT_URL.'<br>EVNTCATS_PATH : '.EVNTCATS_PATH); 382 print('EC_ROOT_URL + ... : '.preg_match('/(\d+\.\d+)\.(\d+)/', PHPWG_VERSION, $matches)); 383 print('<br />'); 386 384 print_r($matches); 387 385 print '</pre>'; 388 386 */ 389 387 390 $template->assign(array( 391 'HeaderIncTPL' => 392 realpath('plugins/event_cats/admin/template/header.inc.tpl'), 393 'SmartFieldsetIncTPL' => 394 realpath('plugins/event_cats/admin/template/smart_fieldsets.inc.tpl'), 395 'FooterIncTPL' => 396 realpath('plugins/event_cats/admin/template/footer.inc.tpl'), 397 )); 388 $template->assign( 389 'HeaderIncTPL', realpath('plugins/event_cats/admin/template/header.inc.tpl') 390 ); 391 392 $template->assign( 393 'FooterIncTPL', realpath('plugins/event_cats/admin/template/footer.inc.tpl') 394 ); 398 395 399 396 $template->assign( … … 408 405 409 406 $template->assign('EVNTCATS_PATH', EVNTCATS_PATH); 410 $template->assign('RACINE_URL', ROOT_URL);407 $template->assign('RACINE_URL', EC_ROOT_URL); 411 408 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=help'); 412 409 413 if (isset($conf['ec_debug1']) and $conf['ec_debug1']) 414 $template->assign('ec_debug1', array( 410 if (isset($conf['ec_debug1'])) $template->assign('ec_debug1', array( 415 411 'POST' => str_from_var($_POST), 416 412 'ec_debug' => (isset($ec_debug)) ? str_from_var($ec_debug) : '(unset)',
Note: See TracChangeset
for help on using the changeset viewer.