Minahito
minah****@users*****
2006年 10月 13日 (金) 18:21:23 JST
Index: xoops2jp/html/modules/base/forms/SmilesFilterForm.class.php diff -u xoops2jp/html/modules/base/forms/SmilesFilterForm.class.php:1.1.2.3.2.1 xoops2jp/html/modules/base/forms/SmilesFilterForm.class.php:1.1.2.3.2.2 --- xoops2jp/html/modules/base/forms/SmilesFilterForm.class.php:1.1.2.3.2.1 Thu Oct 12 20:03:40 2006 +++ xoops2jp/html/modules/base/forms/SmilesFilterForm.class.php Fri Oct 13 18:21:23 2006 @@ -32,24 +32,8 @@ { parent::fetch(); - if (isset($_REQUEST['id'])) { - $this->_mCriteria->add(new Criteria('id', array(XOBJ_DTYPE_INT, xoops_getrequest('id')))); - } - - if (isset($_REQUEST['code'])) { - $this->_mCriteria->add(new Criteria('code', array(XOBJ_DTYPE_STRING, xoops_getrequest('code')))); - } - - if (isset($_REQUEST['smile_url'])) { - $this->_mCriteria->add(new Criteria('smile_url', array(XOBJ_DTYPE_STRING, xoops_getrequest('smile_url')))); - } - - if (isset($_REQUEST['emotion'])) { - $this->_mCriteria->add(new Criteria('emotion', array(XOBJ_DTYPE_STRING, xoops_getrequest('emotion')))); - } - - if (isset($_REQUEST['display'])) { - $this->_mCriteria->add(new Criteria('display', array(XOBJ_DTYPE_BOOL, xoops_getrequest('display')))); + if (isset($_REQUEST['target'])) { + $this->mNavi->addExtra('target', xoops_getrequest('target')); } $this->_mCriteria->addSort($this->getSort(), $this->getOrder());