Minahito
minah****@users*****
2006年 8月 4日 (金) 19:33:07 JST
Index: xoops2jp/html/modules/base/admin/forms/SmilesFilterForm.class.php diff -u xoops2jp/html/modules/base/admin/forms/SmilesFilterForm.class.php:1.1.2.4 xoops2jp/html/modules/base/admin/forms/SmilesFilterForm.class.php:1.1.2.5 --- xoops2jp/html/modules/base/admin/forms/SmilesFilterForm.class.php:1.1.2.4 Tue Aug 1 19:41:48 2006 +++ xoops2jp/html/modules/base/admin/forms/SmilesFilterForm.class.php Fri Aug 4 19:33:07 2006 @@ -15,7 +15,7 @@ class Legacy_SmilesFilterForm extends Legacy_AbstractFilterForm { - var $_mSortKeys = array( + var $mSortKeys = array( SMILES_SORT_KEY_ID => 'id', SMILES_SORT_KEY_CODE => 'code', SMILES_SORT_KEY_SMILE_URL => 'smile_url', @@ -27,23 +27,27 @@ { $this->mSort = isset($_REQUEST['sort']) ? intval(xoops_getrequest('sort')) : SMILES_SORT_KEY_DEFAULT; - if (!isset($this->_mSortKeys[abs($this->mSort)])) { + if (!isset($this->mSortKeys[abs($this->mSort)])) { $this->mSort = SMILES_SORT_KEY_DEFAULT; } if (isset($_REQUEST['code'])) { + $this->_mNavi->addExtra('code', xoops_getrequest('code')); $this->_mCriteria->add(new Criteria('code', xoops_getrequest('code'))); } if (isset($_REQUEST['smile_url'])) { + $this->_mNavi->addExtra('smile_url', xoops_getrequest('smile_url')); $this->_mCriteria->add(new Criteria('smile_url', xoops_getrequest('smile_url'))); } if (isset($_REQUEST['emotion'])) { + $this->_mNavi->addExtra('emotion', xoops_getrequest('emotion')); $this->_mCriteria->add(new Criteria('emotion', xoops_getrequest('emotion'))); } if (isset($_REQUEST['display'])) { + $this->_mNavi->addExtra('display', xoops_getrequest('display')); $this->_mCriteria->add(new Criteria('display', xoops_getrequest('display'))); }