|
From: Jon O. <jon...@us...> - 2008-02-17 22:12:43
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30634 Modified Files: bugsbt__node.php bugsbt__tab-index.php Log Message: Updated initiaization of ajax data Index: bugsbt__tab-index.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** bugsbt__tab-index.php 9 Sep 2007 19:35:11 -0000 1.5 --- bugsbt__tab-index.php 17 Feb 2008 22:12:38 -0000 1.6 *************** *** 13,16 **** --- 13,19 ---- $mx_root_path = "./../../../../../"; + // + // Let's include some stuff... + // $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); *************** *** 23,27 **** // Page selector // ! $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // --- 26,30 ---- // Page selector // ! $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); // *************** *** 29,33 **** // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, - ( 1000 + $page_id )); // --- 32,36 ---- // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, $page_id, false); // *************** *** 48,51 **** --- 51,60 ---- // + // Initiate user style (template + theme) management + // - populate $theme, $images and initiate $template. + // + $mx_user->init_style(); + + // // Page Auth and IP filter // Index: bugsbt__node.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs/bugsbt__node.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt__node.php 22 Jul 2007 21:02:53 -0000 1.3 --- bugsbt__node.php 17 Feb 2008 22:12:38 -0000 1.4 *************** *** 25,28 **** --- 25,31 ---- $mx_root_path = "./../../../../"; + // + // Let's include some stuff... + // $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); *************** *** 31,35 **** // Page selector // ! $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // --- 34,38 ---- // Page selector // ! $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); // *************** *** 37,41 **** // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, - ( 1000 + $page_id )); // --- 40,44 ---- // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, $page_id, false); // *************** *** 56,59 **** --- 59,68 ---- // + // Initiate user style (template + theme) management + // - populate $theme, $images and initiate $template. + // + $mx_user->init_style(); + + // // Page Auth and IP filter // |