Minahito
minah****@users*****
2006年 8月 1日 (火) 19:41:32 JST
Index: xoops2jp/html/modules/base/admin/forms/SmilesAdminEditForm.class.php diff -u xoops2jp/html/modules/base/admin/forms/SmilesAdminEditForm.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/forms/SmilesAdminEditForm.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/forms/SmilesAdminEditForm.class.php:1.1.2.2 Tue Mar 28 22:29:05 2006 +++ xoops2jp/html/modules/base/admin/forms/SmilesAdminEditForm.class.php Tue Aug 1 19:41:32 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package Legacy + * @version $Id: SmilesAdminEditForm.class.php,v 1.1.2.3 2006/08/01 10:41:32 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -12,7 +16,7 @@ function getTokenName() { - return "module.base.SmilesAdminEditForm.TOKEN"; + return "module.base.SmilesAdminEditForm.TOKEN" . $this->get('id'); } function prepare() @@ -29,7 +33,6 @@ // // Set field properties // - $this->mFieldProperties['id'] =& new XCube_FieldProperty($this); $this->mFieldProperties['id']->setDependsByArray(array('required')); $this->mFieldProperties['id']->addMessage('required', _AD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_ID);