onokazu
onoka****@users*****
2005年 6月 1日 (水) 19:30:04 JST
Index: xoops2jp/html/class/xoopsform/formhiddentoken.php diff -u xoops2jp/html/class/xoopsform/formhiddentoken.php:1.1.4.9 xoops2jp/html/class/xoopsform/formhiddentoken.php:1.1.4.10 --- xoops2jp/html/class/xoopsform/formhiddentoken.php:1.1.4.9 Fri May 13 20:08:34 2005 +++ xoops2jp/html/class/xoopsform/formhiddentoken.php Wed Jun 1 19:30:04 2005 @@ -1,5 +1,5 @@ <?php -// $Id: formhiddentoken.php,v 1.1.4.9 2005/05/13 11:08:34 minahito Exp $ // ------------------------------------------------------------------------ // +// $Id: formhiddentoken.php,v 1.1.4.10 2005/06/01 10:30:04 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // @@ -47,10 +47,10 @@ */ function XoopsFormHiddenToken($name = null, $timeout = 360){ if (empty($name)) { - $token =& XoopsMultiTokenHandler::quickCreate(XOOPS_TOKEN_XOOPSORG); + $token =& XoopsMultiTokenHandler::quickCreate(XOOPS_TOKEN_DEFAULT); $name = $token->getTokenName(); } else { - $token =& XoopsSingleTokenHandler::quickCreate(XOOPS_TOKEN_XOOPSORG); + $token =& XoopsSingleTokenHandler::quickCreate(XOOPS_TOKEN_DEFAULT); } $this->XoopsFormHidden($name, $token->getTokenValue()); }