diff options
author | INOPIAE <inopiae@cacert.org> | 2013-05-22 06:56:34 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-05-22 06:56:34 +0200 |
commit | adc9c2539398d642a7fcc3ff517d2c1e5b0c8a8d (patch) | |
tree | e6b3978487e2eb7e1fd626d4dd8b7048285ae1cd | |
parent | 5c3807f7c86dd4ceb3661e84661ec88760095eed (diff) | |
download | cacert-devel-adc9c2539398d642a7fcc3ff517d2c1e5b0c8a8d.tar.gz cacert-devel-adc9c2539398d642a7fcc3ff517d2c1e5b0c8a8d.tar.xz cacert-devel-adc9c2539398d642a7fcc3ff517d2c1e5b0c8a8d.zip |
bug 1173: changed the mail part send to support
-rw-r--r-- | www/disputes.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/www/disputes.php b/www/disputes.php index 96f117e..f8a5227 100644 --- a/www/disputes.php +++ b/www/disputes.php @@ -242,12 +242,12 @@ { showheader(_("Email Dispute")); printf(_("Sorry, the email address '%s' cannot be disputed for administrative reasons. To solve this problem please get in contact with %s."), sanitizeHTML($email),"<a href='mailto:support@cacert.org'>support@cacert.org</a>"); - - $body = "Someone has just attempted to dispute this email '".$email."', which belongs to a locked account:\n". - "Username(ID): ".$_SESSION['profile']['fname']." ".$_SESSION['profile']['lname']."(".$_SESSION['profile']['id'].")\n". - "email: ".$_SESSION['profile']['email']."\n". - "IP/Hostname: ".$_SERVER['REMOTE_ADDR'].(array_key_exists('REMOTE_HOST',$_SERVER)?"/".$_SERVER['REMOTE_HOST']:"")."\n". - sendmail("support@cacert.org", "[CAcert.org] failed dispute on locked account", $body, $_SESSION['profile']['email'], "", "", $_SESSION['profile']['fname']); + $duser=$_SESSION['profile']['fname']." ".$_SESSION['profile']['lname']; + $body = printf("Someone has just attempted to dispute this email '%s', which belongs to a locked account:\n". + "Username(ID): %s (%s)\n". + "email: %s\n". + "IP/Hostname: %s\n", $email, $duser, $_SESSION['profile']['id'], $_SESSION['profile']['email'], $_SERVER['REMOTE_ADDR'].(array_key_exists('REMOTE_HOST',$_SERVER)?"/".$_SERVER['REMOTE_HOST']:"")); + sendmail("support@cacert.org", "[CAcert.org] failed dispute on locked account", $body, $_SESSION['profile']['email'], "", "", $duser); showfooter(); exit; @@ -331,12 +331,12 @@ { showheader(_("Domain Dispute")); printf(_("Sorry, the domain '%s' cannot be disputed for administrative reasons. To solve this problem please get in contact with %s."), sanitizeHTML($domain),"<a href='mailto:support@cacert.org'>support@cacert.org</a>"); - - $body = "Someone has just attempted to dispute this domain '".$domain."', which belongs to a locked account:\n". - "Username(ID): ".$_SESSION['profile']['fname']." ".$_SESSION['profile']['lname']."(".$_SESSION['profile']['id'].")\n". - "email: ".$_SESSION['profile']['email']."\n". - "IP/Hostname: ".$_SERVER['REMOTE_ADDR'].(array_key_exists('REMOTE_HOST',$_SERVER)?"/".$_SERVER['REMOTE_HOST']:"")."\n". - sendmail("support@cacert.org", "[CAcert.org] failed dispute on locked account", $body, $_SESSION['profile']['email'], "", "", $_SESSION['profile']['fname']); + $duser=$_SESSION['profile']['fname']." ".$_SESSION['profile']['lname']; + $body = printf("Someone has just attempted to dispute this domain '%s', which belongs to a locked account:\n". + "Username(ID): %s (%s)\n". + "email: %s\n". + "IP/Hostname: %s\n", $domain, $duser, $_SESSION['profile']['id'], $_SESSION['profile']['email'], $_SERVER['REMOTE_ADDR'].(array_key_exists('REMOTE_HOST',$_SERVER)?"/".$_SERVER['REMOTE_HOST']:"")); + sendmail("support@cacert.org", "[CAcert.org] failed dispute on locked account", $body, $_SESSION['profile']['email'], "", "", $duser); showfooter(); exit; |