summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-10-29 08:26:38 +0100
committerBenny Baumann <BenBE@geshi.org>2015-01-25 13:14:17 +0100
commitfc2bcd51a207366f7013984bbc13672ce6c8c8f5 (patch)
tree47ceac81eaf2b16ae9b861a58de132c737b1a283 /www
parent7c5a95f284ca997acf2b399f2d6874f0a61289b2 (diff)
downloadcacert-devel-fc2bcd51a207366f7013984bbc13672ce6c8c8f5.tar.gz
cacert-devel-fc2bcd51a207366f7013984bbc13672ce6c8c8f5.tar.xz
cacert-devel-fc2bcd51a207366f7013984bbc13672ce6c8c8f5.zip
bug 649: code cleanup
Diffstat (limited to 'www')
-rw-r--r--www/wot.php48
1 files changed, 14 insertions, 34 deletions
diff --git a/www/wot.php b/www/wot.php
index a6637ac..f3f421d 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -597,7 +597,8 @@ $iecho= "c";
}
write_se_log($uid, $_SESSION['profile']['id'], 'User Assurer status check', '', 1000);
$assurer = get_user($uid);
- //mail to assurer
+
+ //mail to member
$my_translation = L10n::get_translation();
L10n::set_translation($assurer['language']);
@@ -613,47 +614,26 @@ $iecho= "c";
$body .= _("Best regards")."\n";
$body .= _("CAcert Support Team");
- //sendmail($assurer['email'], "[CAcert.org] " . $subject, $body, "support@cacert.org", "", "", "CAcert Support");
sendmail($assurer['email'], "[CAcert.org] ". $subject, $body,
"support@cacert.org", //from
"", //replyto
"", //toname
"CAcert Support"); //fromname
- //mail to requestor
-// L10n::set_translation($my_translation);
-//
-// $subject = "[CAcert.org] " . _("Assurer status report that you requested");
-//
-// $body = sprintf(_("Hi %s,"), $_SESSION['profile']['fname'])."\n\n";
-// $body .= sprintf(_("you requested the assurer status of %s %s (%s) for %s."),
-// $assurer['fname'],
-// $assurer['lname'],
-// $assurer['email'],
-// $reason)."\n\n";
-// $body .= sprintf(_("The transmitted result: %s"), $status)."\n";
-// $body .= _("Best regards")."\n";
-// $body .= _("CAcert Support Team");
-//
-// sendmail($_SESSION['profile']['email'], "[CAcert.org] ". $subject, $body,
-// "support@cacert.org", //from
-// "", //replyto
-// "", //toname
-// "CAcert Support"); //fromname
+
+ L10n::set_translation($my_translation);
+
showheader(_("My CAcert.org Account!"));?>
- <p>
- <?=sprintf(_('The assurer status for %s %s (%s) is: %s'),
- $assurer['fname'],
- $assurer['lname'],
- $assurer['email'],
- $status) . '<br/>'. _('The mail with the status request has been sent to the assurer.'); ?>
- </p>
- <?
+ <p>
+ <?=sprintf(_('The assurer status for %s %s (%s) is: %s'),
+ $assurer['fname'],
+ $assurer['lname'],
+ $assurer['email'],
+ $status) . '<br/>'. _('The mail with the status request has been sent to the email address above.'); ?>
+ </p>
+ <?
showfooter();
exit;
}
-// showheader(_("My CAcert.org Account!"));
-// echo "ID now = ".$id."/".$oldid.">>".$iecho;
-// includeit($id, "wot");
-// showfooter();
+
show_page ($id,"","");
?>