[xoops-cvslog 3996] CVS update: xoops2jp/html/modules/user/kernel

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 8月 6日 (日) 01:46:48 JST


Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php
diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.5 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.6
--- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.5	Thu Jul 27 15:54:48 2006
+++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php	Sun Aug  6 01:46:48 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: LegacypageFunctions.class.php,v 1.1.2.5 2006/07/27 06:54:48 nobunobu Exp $
+ * @version $Id: LegacypageFunctions.class.php,v 1.1.2.6 2006/08/05 16:46:48 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -189,6 +189,32 @@
 		
 		$successFlag = true;
     }
+	
+	function misc()
+	{
+		if (xoops_getrequest('type') != 'online') {
+			return;
+		}
+		
+		require_once XOOPS_MODULE_PATH . "/user/class/ActionFrame.class.php";
+
+		$root =& XCube_Root::getSingleton();
+		$root->mController->mModuleController->setupModuleObject('user');
+		$root->mController->mModuleController->setupRenderTarget();
+		
+		$actionName = "MiscOnline";
+
+		$moduleRunner = new User_ActionFrame(false);
+		$moduleRunner->setActionName($actionName);
+
+		$root->mController->setActionStrategy($moduleRunner);
+
+		$root->mController->setDialogMode(true);
+
+		$root->mController->executeAction();
+
+		$root->mController->executeView();
+	}
 }
 
 ?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る