[xoops-cvslog 4642] CVS update: xoops2jp/html/modules/user/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 9月 27日 (水) 12:35:07 JST


Index: xoops2jp/html/modules/user/admin/actions/UserEditAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserEditAction.class.php:1.1.2.6 xoops2jp/html/modules/user/admin/actions/UserEditAction.class.php:1.1.2.7
--- xoops2jp/html/modules/user/admin/actions/UserEditAction.class.php:1.1.2.6	Thu Aug 17 19:21:05 2006
+++ xoops2jp/html/modules/user/admin/actions/UserEditAction.class.php	Wed Sep 27 12:35:07 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: UserEditAction.class.php,v 1.1.2.6 2006/08/17 10:21:05 minahito Exp $
+ * @version $Id: UserEditAction.class.php,v 1.1.2.7 2006/09/27 03:35:07 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -28,6 +28,21 @@
 		$this->mActionForm->prepare();
 	}
 
+	function _setupObject()
+	{
+		$id = $this->_getId();
+		
+		$this->mObjectHandler = $this->_getHandler();
+		
+		$this->mObject =& $this->mObjectHandler->get($id);
+		
+		if ($this->mObject == null && $this->isEnableCreate()) {
+			$root =& XCube_Root::getSingleton();
+			$this->mObject =& $this->mObjectHandler->create();
+			$this->mObject->set('timezone_offset', $root->mController->getConfig('server_TZ'));
+		}
+	}
+	
 	function executeViewInput(&$controller, &$xoopsUser, &$render)
 	{
 		$render->setTemplateName("user_edit.html");


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