Minahito
minah****@users*****
2006年 8月 19日 (土) 20:55:57 JST
Index: xoops2jp/html/modules/user/forms/EditUserForm.class.php diff -u xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.13 xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.14 --- xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.13 Fri Aug 18 18:06:19 2006 +++ xoops2jp/html/modules/user/forms/EditUserForm.class.php Sat Aug 19 20:55:57 2006 @@ -51,6 +51,7 @@ $this->mFormProperties['bio'] =& new XCube_TextProperty('bio'); $this->mFormProperties['pass'] =& new XCube_StringProperty('pass'); $this->mFormProperties['vpass'] =& new XCube_StringProperty('vpass'); + $this->mFormProperties['usercookie'] =& new XCube_BoolProperty('usercookie'); $this->mFormProperties['user_mailok'] =& new XCube_BoolProperty('user_mailok'); // @@ -178,6 +179,9 @@ $this->set('pass', null); $this->set('vpass', null); + + $root =& XCube_Root::getSingleton(); + $this->set('usercookie', empty($_COOKIE[$this->mConfig['usercookie']]) ? 0 : 1); } function update(&$obj)