[xoops-cvslog 3351] CVS update: xoops2jp/html/modules/user/preload/Primary

Back to archive index

Minahito minah****@users*****
2006年 6月 22日 (木) 14:57:05 JST


Index: xoops2jp/html/modules/user/preload/Primary/index.html
diff -u /dev/null xoops2jp/html/modules/user/preload/Primary/index.html:1.1.2.1
--- /dev/null	Thu Jun 22 14:57:05 2006
+++ xoops2jp/html/modules/user/preload/Primary/index.html	Thu Jun 22 14:57:05 2006
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Index: xoops2jp/html/modules/user/preload/Primary/Primary.class.php
diff -u /dev/null xoops2jp/html/modules/user/preload/Primary/Primary.class.php:1.1.2.1
--- /dev/null	Thu Jun 22 14:57:05 2006
+++ xoops2jp/html/modules/user/preload/Primary/Primary.class.php	Thu Jun 22 14:57:05 2006
@@ -0,0 +1,16 @@
+<?php
+
+if (!defined('XOOPS_ROOT_PATH')) die();
+
+class User_PrimaryFilter extends XCube_ActionFilter
+{
+	function preFilter()
+	{
+		require_once XOOPS_ROOT_PATH . "/modules/user/kernel/UserEventProxyRegister.class.php";
+		
+		$root =& XCube_Root::getSingleton();
+		$root->mDelegateManager->add("Site.Login", "UserCommonEventFunction::NewLogin");
+	}
+}
+
+?>
\ No newline at end of file


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