1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

Correct SUPERMODIFIERS

This commit is contained in:
e107steved
2009-12-10 21:03:56 +00:00
parent 256a0a6b12
commit 941fe39491

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/contact.php,v $ | $Source: /cvs_backup/e107_0.8/contact.php,v $
| $Revision: 1.9 $ | $Revision: 1.10 $
| $Date: 2009-11-18 01:04:24 $ | $Date: 2009-12-10 21:03:56 $
| $Author: e107coders $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
require_once("class2.php"); require_once("class2.php");
@@ -39,10 +39,10 @@ if(isset($_POST['send-contactus'])){
$error = ""; $error = "";
$sender_name = $tp->toEmail($_POST['author_name'],TRUE,"rawtext"); $sender_name = $tp->toEmail($_POST['author_name'],TRUE,'RAWTEXT');
$sender = check_email($_POST['email_send']); $sender = check_email($_POST['email_send']);
$subject = $tp->toEmail($_POST['subject'],TRUE,"rawtext"); $subject = $tp->toEmail($_POST['subject'],TRUE,'RAWTEXT');
$body = $tp->toEmail($_POST['body'],TRUE,"rawtext"); $body = $tp->toEmail($_POST['body'],TRUE,'RAWTEXT');
// Check Image-Code // Check Image-Code
@@ -71,10 +71,10 @@ if(isset($_POST['send-contactus'])){
// Check email address on remote server (if enabled). // Check email address on remote server (if enabled).
if ($pref['signup_remote_emailcheck'] && $error == "") if ($pref['signup_remote_emailcheck'] && $error == '')
{ {
require_once(e_HANDLER."mail_validation_class.php"); require_once(e_HANDLER."mail_validation_class.php");
list($adminuser,$adminhost) = split ("@", SITEADMINEMAIL); list($adminuser,$adminhost) = split ('@', SITEADMINEMAIL);
$validator = new email_validation_class; $validator = new email_validation_class;
$validator->localuser= $adminuser; $validator->localuser= $adminuser;
$validator->localhost= $adminhost; $validator->localhost= $adminhost;