onokazu
onoka****@users*****
2005年 8月 13日 (土) 12:41:45 JST
Index: xoops2jp/html/modules/contact/contactform.php diff -u xoops2jp/html/modules/contact/contactform.php:1.2 xoops2jp/html/modules/contact/contactform.php:1.3 --- xoops2jp/html/modules/contact/contactform.php:1.2 Fri Mar 18 21:52:14 2005 +++ xoops2jp/html/modules/contact/contactform.php Sat Aug 13 12:41:45 2005 @@ -1,5 +1,5 @@ <?php -// $Id: contactform.php,v 1.2 2005/03/18 12:52:14 onokazu Exp $ +// $Id: contactform.php,v 1.3 2005/08/13 03:41:45 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -25,6 +25,9 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + exit(); +} $name_text = new XoopsFormText(_CT_NAME, "usersName", 50, 100, $name_v); $email_text = new XoopsFormText(_CT_EMAIL, "usersEmail", 50, 100, $email_v); $url_text = new XoopsFormText(_CT_URL, "usersSite", 50, 100, $url_v);