NobuNobu
nobun****@users*****
2006年 12月 3日 (日) 16:44:54 JST
Index: xoops2jp/html/modules/user/forms/OnlineFilterForm.class.php diff -u xoops2jp/html/modules/user/forms/OnlineFilterForm.class.php:1.1.2.1.2.4 xoops2jp/html/modules/user/forms/OnlineFilterForm.class.php:1.1.2.1.2.5 --- xoops2jp/html/modules/user/forms/OnlineFilterForm.class.php:1.1.2.1.2.4 Sun Dec 3 13:52:17 2006 +++ xoops2jp/html/modules/user/forms/OnlineFilterForm.class.php Sun Dec 3 16:44:54 2006 @@ -1,39 +1,39 @@ -<?php - -if (!defined('XOOPS_ROOT_PATH')) exit(); - -require_once XOOPS_MODULE_PATH . "/user/class/AbstractFilterForm.class.php"; - -define('ONLINE_SORT_KEY_ONLINE_UID', 1); -define('ONLINE_SORT_KEY_ONLINE_UNAME', 2); -define('ONLINE_SORT_KEY_ONLINE_UPDATED', 3); -define('ONLINE_SORT_KEY_ONLINE_MODULE', 4); -define('ONLINE_SORT_KEY_ONLINE_IP', 5); -define('ONLINE_SORT_KEY_MAXVALUE', 5); - -define('ONLINE_SORT_KEY_DEFAULT', ONLINE_SORT_KEY_ONLINE_UID); - -class User_OnlineFilterForm extends User_AbstractFilterForm -{ - var $mSortKeys = array( - ONLINE_SORT_KEY_ONLINE_UID => 'online_uid', - ONLINE_SORT_KEY_ONLINE_UNAME => 'online_uname', - ONLINE_SORT_KEY_ONLINE_UPDATED => 'online_updated', - ONLINE_SORT_KEY_ONLINE_MODULE => 'online_module', - ONLINE_SORT_KEY_ONLINE_IP => 'online_ip' - ); - - function getDefaultSortKey() - { - return ONLINE_SORT_KEY_DEFAULT; - } - - function fetch() - { - parent::fetch(); - - $this->_mCriteria->addSort($this->getSort(), $this->getOrder()); - } -} - -?> +<?php + +if (!defined('XOOPS_ROOT_PATH')) exit(); + +require_once XOOPS_MODULE_PATH . "/user/class/AbstractFilterForm.class.php"; + +define('ONLINE_SORT_KEY_ONLINE_UID', 1); +define('ONLINE_SORT_KEY_ONLINE_UNAME', 2); +define('ONLINE_SORT_KEY_ONLINE_UPDATED', 3); +define('ONLINE_SORT_KEY_ONLINE_MODULE', 4); +define('ONLINE_SORT_KEY_ONLINE_IP', 5); +define('ONLINE_SORT_KEY_MAXVALUE', 5); + +define('ONLINE_SORT_KEY_DEFAULT', ONLINE_SORT_KEY_ONLINE_UID); + +class User_OnlineFilterForm extends User_AbstractFilterForm +{ + var $mSortKeys = array( + ONLINE_SORT_KEY_ONLINE_UID => 'online_uid', + ONLINE_SORT_KEY_ONLINE_UNAME => 'online_uname', + ONLINE_SORT_KEY_ONLINE_UPDATED => 'online_updated', + ONLINE_SORT_KEY_ONLINE_MODULE => 'online_module', + ONLINE_SORT_KEY_ONLINE_IP => 'online_ip' + ); + + function getDefaultSortKey() + { + return ONLINE_SORT_KEY_DEFAULT; + } + + function fetch() + { + parent::fetch(); + + $this->_mCriteria->addSort($this->getSort(), $this->getOrder()); + } +} + +?> Index: xoops2jp/html/modules/user/forms/UserDeleteForm.class.php diff -u xoops2jp/html/modules/user/forms/UserDeleteForm.class.php:1.1.2.1.2.6 xoops2jp/html/modules/user/forms/UserDeleteForm.class.php:1.1.2.1.2.7 --- xoops2jp/html/modules/user/forms/UserDeleteForm.class.php:1.1.2.1.2.6 Sun Dec 3 13:52:17 2006 +++ xoops2jp/html/modules/user/forms/UserDeleteForm.class.php Sun Dec 3 16:44:54 2006 @@ -1,20 +1,20 @@ -<?php - -if (!defined('XOOPS_ROOT_PATH')) exit(); - -require_once XOOPS_ROOT_PATH . "/core/XCube_ActionForm.class.php"; -require_once XOOPS_MODULE_PATH . "/legacy/class/Legacy_Validator.class.php"; - -class User_UserDeleteForm extends XCube_ActionForm -{ - function getTokenName() - { - return "module.user.UserDeleteForm.TOKEN"; - } - - function prepare() - { - } -} - -?> +<?php + +if (!defined('XOOPS_ROOT_PATH')) exit(); + +require_once XOOPS_ROOT_PATH . "/core/XCube_ActionForm.class.php"; +require_once XOOPS_MODULE_PATH . "/legacy/class/Legacy_Validator.class.php"; + +class User_UserDeleteForm extends XCube_ActionForm +{ + function getTokenName() + { + return "module.user.UserDeleteForm.TOKEN"; + } + + function prepare() + { + } +} + +?>