diff options
author | Michael Tänzer <neo@nhng.de> | 2011-12-22 16:50:52 +0100 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-12-22 16:50:52 +0100 |
commit | ee545c68b6da56406a3da7efcf5298b2c78449b4 (patch) | |
tree | 2b60d70873f561539b348240ef7877fb6101ca85 | |
parent | e9c8fd8bfe194b4d77cdf92b9a79452bad6198dd (diff) | |
download | cacert-devel-ee545c68b6da56406a3da7efcf5298b2c78449b4.tar.gz cacert-devel-ee545c68b6da56406a3da7efcf5298b2c78449b4.tar.xz cacert-devel-ee545c68b6da56406a3da7efcf5298b2c78449b4.zip |
bug 1002: replace show_page() call by an explicit output, and use printf() tobug-1002
output the name of the receiver
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r-- | www/wot.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/wot.php b/www/wot.php index fe3b93b..48f63c5 100644 --- a/www/wot.php +++ b/www/wot.php @@ -454,7 +454,14 @@ $iecho= "c"; { sendmail($user['email'], "[CAcert.org] ".$_REQUEST['subject'], $_REQUEST['message'], $_SESSION['profile']['email'], "", "", $_SESSION['profile']['fname']." ".$_SESSION['profile']['lname']); - show_page("ContactAssurer",_("Your email has been sent to")." ".$user['fname'].".<br />[ <a href='javascript:history.go(-2)'>"._("Go Back")."</a> ]",""); + + showheader(_("My CAcert.org Account!"));?> + <p> + <? printf(_("Your email has been sent to %s."), $user['fname']); ?> + </p> + <p>[ <a href='javascript:history.go(-2)'><?= _("Go Back") ?></a> ]</p> + <? + showfooter(); exit; } else { show_page(0,"",_("Sorry, I was unable to locate that user.")); |