[xoops-cvslog 3930] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2006年 8月 4日 (金) 19:32:12 JST


Index: xoops2jp/html/include/cp_functions.php
diff -u xoops2jp/html/include/cp_functions.php:1.2.8.2 xoops2jp/html/include/cp_functions.php:1.2.8.3
--- xoops2jp/html/include/cp_functions.php:1.2.8.2	Wed Nov 16 01:39:03 2005
+++ xoops2jp/html/include/cp_functions.php	Fri Aug  4 19:32:12 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: cp_functions.php,v 1.2.8.2 2005/11/15 16:39:03 minahito Exp $
+// $Id: cp_functions.php,v 1.2.8.3 2006/08/04 10:32:12 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -34,7 +34,8 @@
 	// In this case, the controller does not have Admin ModuleController and Admin RenderSystem.
 	//
 	$root=&XCube_Root::getSingleton();
-	$root->mController->switchStateCompulsory(new BaseControllerAdminState());
+	$strategy =& new Legacy_AdminControllerStrategy($root->mController);
+	$root->mController->setStrategy($strategy);
 
 	require_once XOOPS_ROOT_PATH."/header.php";
 }
Index: xoops2jp/html/include/cp_header.php
diff -u xoops2jp/html/include/cp_header.php:1.2.8.3 xoops2jp/html/include/cp_header.php:1.2.8.4
--- xoops2jp/html/include/cp_header.php:1.2.8.3	Mon Nov 21 01:27:29 2005
+++ xoops2jp/html/include/cp_header.php	Fri Aug  4 19:32:12 2006
@@ -1,5 +1,5 @@
 <?php 
-// $Id: cp_header.php,v 1.2.8.3 2005/11/20 16:27:29 minahito Exp $
+// $Id: cp_header.php,v 1.2.8.4 2006/08/04 10:32:12 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //              XOOPSCube - PHP Content Management System                    //
 //                  Copyright (c) 2005 XOOPSCube.org                         //
@@ -36,7 +36,7 @@
 // In this case, the controller does not have Admin ModuleController and Admin RenderSystem.
 //
 $root=&XCube_Root::getSingleton();
-$root->mController->switchStateCompulsory(new BaseControllerAdminState());
-
+$strategy =& new Legacy_AdminControllerStrategy($root->mController);
+$root->mController->setStrategy($strategy);
 
 ?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index