Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJos Poortvliet <jospoortvliet@gmail.com>2020-12-18 22:04:52 +0300
committerJos Poortvliet <jospoortvliet@gmail.com>2020-12-18 22:05:14 +0300
commita93c9d2fe2ec26ea1d29226837c76c57f5560905 (patch)
tree2ae84352d86827efe1750238e4f78776c06a7920 /page-whitepaper-submit.php
parent13c4fdbbbe14ca8dbb96255cb4a71081f97da433 (diff)
implement pricing page feedback
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-whitepaper-submit.php')
-rw-r--r--page-whitepaper-submit.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/page-whitepaper-submit.php b/page-whitepaper-submit.php
index 1ba5621e..69d60e0d 100644
--- a/page-whitepaper-submit.php
+++ b/page-whitepaper-submit.php
@@ -46,7 +46,7 @@ try {
}
$email_to = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL);
if(!filter_var($email_to, FILTER_VALIDATE_EMAIL)) {
- throw new HintException('The email address supplied is invalid.');
+ throw new HintException('The email address is invalid or missing.');
}
$newsletter = (int)$_POST['moreinfo'];
$whitepaper_nr = (int)$_POST['segmentId'];
@@ -116,10 +116,9 @@ try {
?>
<section class="section--whitepaper">
<div class="container text-center">
- <h3>Sorry, there was an error with the form you submitted</h3>
- <p>Did you fill in all mandatory fields?<br />
- The error(s) detected include:<br/>
- <?php echo htmlentities($e->getHint()); ?>
+ <p>Sorry, there was an error with the form you submitted.<br />
+ The error(s) detected:<br/>
+ <h3><?php echo htmlentities($e->getHint()); ?></h3>
</p>
<p>Please use the back key to go to <br/>the previous page and fix the issue, or <br /> <a href="https://nextcloud.com/contact">contact us with the error message.</a></p>
</div>