summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-04-30 02:33:15 +0200
committerMichael Tänzer <neo@nhng.de>2012-04-30 02:33:15 +0200
commit5f13d8f7b344b1d806a423eb1daca56724e78ddd (patch)
tree2fc9ef465b2ef250bbc037a9b3b9df05a8edc0a2 /www
parentb35b874af560b4c69cf952229b28bd1668dcf5d9 (diff)
downloadcacert-devel-5f13d8f7b344b1d806a423eb1daca56724e78ddd.tar.gz
cacert-devel-5f13d8f7b344b1d806a423eb1daca56724e78ddd.tar.xz
cacert-devel-5f13d8f7b344b1d806a423eb1daca56724e78ddd.zip
Source code taken from cacert-20120429.tar.bz2
Diffstat (limited to 'www')
-rw-r--r--www/advertising.php6
-rw-r--r--www/wot.php9
2 files changed, 11 insertions, 4 deletions
diff --git a/www/advertising.php b/www/advertising.php
index e987461..43e4f93 100644
--- a/www/advertising.php
+++ b/www/advertising.php
@@ -47,7 +47,7 @@
if($months < 1 || $months > 12)
{
$id = 1;
- $errmsg .= _("You can only place an advertisement for up to 12 months.<br />");
+ $errmsg .= _("You can only place an advertisement for up to 12 months.")."<br />";
$process="";
$oldid=0;
}
@@ -55,7 +55,7 @@
if(strlen($title) <= 5)
{
$id = 1;
- $errmsg .= _("Link title was too short.<br />");
+ $errmsg .= _("Link title was too short.")."<br />";
$process="";
$oldid=0;
}
@@ -63,7 +63,7 @@
if(strlen($link) <= 10)
{
$id = 1;
- $errmsg .= _("Link URI was too short.<br />");
+ $errmsg .= _("Link URI was too short.")."<br />";
$process="";
$oldid=0;
}
diff --git a/www/wot.php b/www/wot.php
index 66bf7cb..bf5d301 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -444,7 +444,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."));