Minahito
minah****@users*****
2006年 11月 7日 (火) 17:24:51 JST
Index: xoops2jp/html/modules/legacy/forms/SearchShowallbyuserForm.class.php diff -u xoops2jp/html/modules/legacy/forms/SearchShowallbyuserForm.class.php:1.1.2.2 xoops2jp/html/modules/legacy/forms/SearchShowallbyuserForm.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/forms/SearchShowallbyuserForm.class.php:1.1.2.2 Sun Oct 15 01:36:55 2006 +++ xoops2jp/html/modules/legacy/forms/SearchShowallbyuserForm.class.php Tue Nov 7 17:24:51 2006 @@ -7,7 +7,7 @@ require_once XOOPS_MODULE_PATH . "/legacy/forms/SearchShowallForm.class.php"; -class Legacy_SearchShowallbyuserForm extends XCube_ActionForm +class Legacy_SearchShowallbyuserForm extends Legacy_SearchShowallForm { function prepare() { Index: xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php diff -u xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.2 xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.2 Sun Oct 15 01:36:41 2006 +++ xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php Tue Nov 7 17:24:51 2006 @@ -30,7 +30,7 @@ // $this->mFieldProperties['andor'] =& new XCube_FieldProperty($this); $this->mFieldProperties['andor']->setDependsByArray(array('mask')); - $this->mFieldProperties['andor']->addMessage('required', _MD_LEGACY_ERROR_MASK, _MD_LEGACY_LANG_ANDOR); + $this->mFieldProperties['andor']->addMessage('mask', _MD_LEGACY_ERROR_MASK, _MD_LEGACY_LANG_ANDOR); $this->mFieldProperties['andor']->addVar('mask', '/^(AND|OR|exact)$/i'); } Index: xoops2jp/html/modules/legacy/forms/SearchShowallForm.class.php diff -u xoops2jp/html/modules/legacy/forms/SearchShowallForm.class.php:1.1.2.2 xoops2jp/html/modules/legacy/forms/SearchShowallForm.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/forms/SearchShowallForm.class.php:1.1.2.2 Sun Oct 15 01:37:06 2006 +++ xoops2jp/html/modules/legacy/forms/SearchShowallForm.class.php Tue Nov 7 17:24:51 2006 @@ -24,7 +24,7 @@ // $this->mFieldProperties['andor'] =& new XCube_FieldProperty($this); $this->mFieldProperties['andor']->setDependsByArray(array('mask')); - $this->mFieldProperties['andor']->addMessage('required', _MD_LEGACY_ERROR_MASK, _MD_LEGACY_LANG_ANDOR); + $this->mFieldProperties['andor']->addMessage('mask', _MD_LEGACY_ERROR_MASK, _MD_LEGACY_LANG_ANDOR); $this->mFieldProperties['andor']->addVar('mask', '/^(AND|OR|exact)$/i'); $this->set('start', 0);