onokazu
onoka****@users*****
2005年 9月 5日 (月) 05:46:09 JST
Index: xoops2jp/html/modules/contact/contactform.php diff -u xoops2jp/html/modules/contact/contactform.php:1.3 xoops2jp/html/modules/contact/contactform.php:1.4 --- xoops2jp/html/modules/contact/contactform.php:1.3 Sat Aug 13 12:41:45 2005 +++ xoops2jp/html/modules/contact/contactform.php Mon Sep 5 05:46:09 2005 @@ -1,5 +1,5 @@ <?php -// $Id: contactform.php,v 1.3 2005/08/13 03:41:45 onokazu Exp $ +// $Id: contactform.php,v 1.4 2005/09/04 20:46:09 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Index: xoops2jp/html/modules/contact/index.php diff -u xoops2jp/html/modules/contact/index.php:1.4 xoops2jp/html/modules/contact/index.php:1.5 --- xoops2jp/html/modules/contact/index.php:1.4 Wed Aug 3 21:39:12 2005 +++ xoops2jp/html/modules/contact/index.php Mon Sep 5 05:46:09 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.5 2005/09/04 20:46:09 onokazu 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();