|
From: Florin C B. <ory...@us...> - 2012-10-22 18:44:32
|
Update of /cvsroot/mxbb/mx_chatbox/admin
In directory vz-cvs-4.sog:/tmp/cvs-serv31932
Modified Files:
index_chatbox.php
Log Message:
Index: index_chatbox.php
===================================================================
RCS file: /cvsroot/mxbb/mx_chatbox/admin/index_chatbox.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index_chatbox.php 11 Oct 2008 04:04:34 -0000 1.1
--- index_chatbox.php 22 Oct 2012 18:44:30 -0000 1.2
***************
*** 25,36 ****
//
! // Security and Page header
//
! define('IN_PORTAL', 1);
! $mx_root_path = './../';
! require($mx_root_path . 'extension.inc');
$no_page_header = TRUE;
! require('./pagestart.' . $phpEx);
!
// ------------------------------
--- 25,37 ----
//
! // Setup basic portal stuff...
//
! define('IN_PORTAL', true);
! $mx_root_path = '../../../';
! $module_root_path = "../";
! $phpEx = substr(strrchr(__FILE__, '.'), 1);
$no_page_header = TRUE;
! //require('./pagestart.' . $phpEx);
! require($mx_root_path . '/admin/pagestart.'.$phpEx);
// ------------------------------
***************
*** 84,89 ****
if( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'left' )
{
! include('./page_header_admin.'.$phpEx);
!
$template->set_filenames(array(
'body' => 'admin/index_navigate.tpl')
--- 85,90 ----
if( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'left' )
{
! //include('./page_header_admin.'.$phpEx);
! include_once($mx_root_path . 'admin/page_header_admin.'.$phpEx);
$template->set_filenames(array(
'body' => 'admin/index_navigate.tpl')
***************
*** 298,308 ****
$template->pparse('body');
! include('./page_footer_admin.'.$phpEx);
}
elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' )
{
! include('./page_header_admin.'.$phpEx);
!
$template->set_filenames(array(
"body" => "admin/index_body.tpl")
--- 299,310 ----
$template->pparse('body');
! //include('./page_footer_admin.'.$phpEx);
! include_once($mx_root_path . 'admin/page_header_admin.'.$phpEx);
}
elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' )
{
! //include('./page_header_admin.'.$phpEx);
! include_once($mx_root_path . 'admin/page_header_admin.'.$phpEx);
$template->set_filenames(array(
"body" => "admin/index_body.tpl")
***************
*** 895,900 ****
$template->pparse("body");
! include('./page_footer_admin.'.$phpEx);
!
}
else
--- 897,902 ----
$template->pparse("body");
! //include('./page_footer_admin.'.$phpEx);
! include_once($mx_root_path.'admin/page_header_admin.'.$phpEx);
}
else
***************
*** 904,913 ****
//
$template->set_filenames(array(
! "body" => "admin/index_frameset.tpl")
);
$template->assign_vars(array(
! "S_FRAME_NAV" => mx_append_sid("left.html?pane=left"),
! "S_FRAME_MAIN" => mx_append_sid("../modules/mx_chatbox/admin/admin_chatbox.$phpEx?action=cat_manage"))
);
--- 906,916 ----
//
$template->set_filenames(array(
! "body" => "admin/index_frameset.".$tplEx)
);
$template->assign_vars(array(
! 'ADMIN_TITLE' => $lang['mxBB_adminCP'],
! "S_FRAME_NAV" => mx_append_sid($mx_root_path."admin/index.$phpEx?pane=left"),
! "S_FRAME_MAIN" => mx_append_sid($module_root_path."admin/admin_chatbox.$phpEx?action=cat_manage"))
);
|