NobuNobu
nobun****@users*****
2005年 8月 21日 (日) 13:16:53 JST
Index: xoops2jp/html/modules/contact/index.php diff -u xoops2jp/html/modules/contact/index.php:1.4 xoops2jp/html/modules/contact/index.php:1.4.2.1 --- xoops2jp/html/modules/contact/index.php:1.4 Wed Aug 3 21:39:12 2005 +++ xoops2jp/html/modules/contact/index.php Sun Aug 21 13:16:53 2005 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.4 2005/08/03 12:39:12 onokazu Exp $ +// $Id: index.php,v 1.4.2.1 2005/08/21 04:16:53 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -26,7 +26,7 @@ // ------------------------------------------------------------------------ // include "header.php"; -if ( empty($HTTP_POST_VARS['submit']) ) { +if ( empty($_POST['submit']) ) { $xoopsOption['template_main'] = 'contact_contactusform.html'; include XOOPS_ROOT_PATH."/header.php"; include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; @@ -65,7 +65,7 @@ } $adminMessage .= _CT_COMMENTS."\n"; $adminMessage .= "\n$usersComments\n"; - $adminMessage .= "\n".$HTTP_SERVER_VARS['HTTP_USER_AGENT']."\n"; + $adminMessage .= "\n".$_SERVER['HTTP_USER_AGENT']."\n"; $subject = $xoopsConfig['sitename']." - "._CT_CONTACTFORM; $xoopsMailer =& getMailer(); $xoopsMailer->useMail();