"Contact form does not work when logged in!"
This commit is contained in:
parent
7c873275ed
commit
53a8c36859
3 changed files with 5 additions and 15 deletions
|
@ -19,15 +19,6 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s
|
|||
?>
|
||||
<H3><?=_("Contact Us")?></H3>
|
||||
|
||||
<p><? printf(_("To contact us please log out and then use the contact form ".
|
||||
"there or send us an email to %s. We are working to fix this ".
|
||||
"situation so you may contact us while staying logged in again."),
|
||||
|
||||
"<a href='mailto:support@cacert.org'>support@cacert.org</a>"
|
||||
) ?>
|
||||
</p>
|
||||
|
||||
<?/*
|
||||
<p><b><?=_("General Questions")?></b></p>
|
||||
<p><b><?=_("PLEASE NOTE: Due to the large amounts of support questions, incorrectly directed emails may be over looked, this is a volunteer effort and directing general questions to the right place will help everyone, including yourself as you will get a reply quicker.")?></b></p>
|
||||
<p><b><?=_("If you are contacting us about advertising, please use the form at the bottom of the website, the first contact form is not the correct place.")?></b></p>
|
||||
|
@ -36,7 +27,7 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s
|
|||
<p><?=_("General questions about CAcert should be sent to the general support list, please send all emails in ENGLISH only, this list has many more volunteers then those directly involved with the running of the website, everyone on the mailing list understands english, even if this isn't their native language this will increase your chance at a competent reply. While it's best if you sign up to the mailing list to get replied to, you don't have to, but please make sure you note this in your email, otherwise it might seem like you didn't get a reply to your question.")?></p>
|
||||
<p><a href="https://lists.cacert.org/wws/info/cacert-support"><?=_("Click here to go to the Support List")?></a></p>
|
||||
<p><?=_("You can alternatively use the form below, however joining the list is the prefered option to support your queries")?></p>
|
||||
<form method="post" name="form1">
|
||||
<form method="post" action="account.php" name="form1">
|
||||
<input type="hidden" name="oldid" value="<?=$id?>">
|
||||
<input type="hidden" name="support" value="yes">
|
||||
<input type="hidden" name="secrethash2" value="">
|
||||
|
@ -61,7 +52,7 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s
|
|||
|
||||
<p><b><?=_("Sensitive Information")?></b></p>
|
||||
<p><?=_("If you have questions, comments or otherwise and information you're sending to us contains sensitive details, you should use the contact form below. Due to the large amounts of support emails we receive, sending general questions via this contact form will generally take longer then using the support mailing list. Also sending queries in anything but english could cause delays in supporting you as we'd need to find a translator to help.")?></p>
|
||||
<form method="post" action="https://www.cacert.org/index.php" name="form2">
|
||||
<form method="post" action="account.php" name="form2">
|
||||
<input type="hidden" name="secrethash2" value="">
|
||||
<input type="hidden" name="oldid" value="<?=$id?>">
|
||||
<table border="0">
|
||||
|
@ -98,4 +89,3 @@ Australia</p>
|
|||
document.form2.secrethash2.value = pagehash;
|
||||
-->
|
||||
</script>
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s
|
|||
<p><?=_("General questions about CAcert should be sent to the general support list, please send all emails in ENGLISH only, this list has many more volunteers then those directly involved with the running of the website, everyone on the mailing list understands english, even if this isn't their native language this will increase your chance at a competent reply. While it's best if you sign up to the mailing list to get replied to, you don't have to, but please make sure you note this in your email, otherwise it might seem like you didn't get a reply to your question.")?></p>
|
||||
<p><a href="https://lists.cacert.org/wws/info/cacert-support"><?=_("Click here to go to the Support List")?></a></p>
|
||||
<p><?=_("You can alternatively use the form below, however joining the list is the prefered option to support your queries")?></p>
|
||||
<form method="post" name="form1">
|
||||
<form method="post" action="index.php" name="form1">
|
||||
<input type="hidden" name="oldid" value="<?=$id?>">
|
||||
<input type="hidden" name="support" value="yes">
|
||||
<input type="hidden" name="secrethash2" value="">
|
||||
|
@ -52,7 +52,7 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s
|
|||
|
||||
<p><b><?=_("Sensitive Information")?></b></p>
|
||||
<p><?=_("If you have questions, comments or otherwise and information you're sending to us contains sensitive details, you should use the contact form below. Due to the large amounts of support emails we receive, sending general questions via this contact form will generally take longer then using the support mailing list. Also sending queries in anything but english could cause delays in supporting you as we'd need to find a translator to help.")?></p>
|
||||
<form method="post" action="https://www.cacert.org/index.php" name="form2">
|
||||
<form method="post" action="index.php" name="form2">
|
||||
<input type="hidden" name="secrethash2" value="">
|
||||
<input type="hidden" name="oldid" value="<?=$id?>">
|
||||
<table border="0">
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
|
||||
|
||||
sendmail("cacert-support@lists.cacert.org, $email", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert Website");
|
||||
sendmail("cacert-support@lists.cacert.org", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert Website");
|
||||
|
||||
showheader(_("Welcome to CAcert.org"));
|
||||
echo _("Your message has been sent to the general support list.");
|
||||
|
|
Loading…
Reference in a new issue