mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Small-caps CAPTCHA in newsletter form and error message
This commit is contained in:
parent
93771ab1bc
commit
3b26e49509
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ else{
|
|||
<ul class="error">
|
||||
<? foreach($exceptions as $ex){ ?>
|
||||
<li>
|
||||
<p><? $message = $ex->getMessage(); if($message == ''){ $message = 'An error occurred.'; } ?><?= Formatter::ToPlainText($message) ?></p>
|
||||
<p><? $message = $ex->getMessage(); if($message == ''){ $message = 'An error occurred.'; } ?><?= str_replace('CAPTCHA', '<abbr class="acronym">CAPTCHA</abbr>', Formatter::ToPlainText($message)) ?></p>
|
||||
</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
|
|
|
@ -37,7 +37,7 @@ if($exception){
|
|||
<input type="email" name="email" value="<?= Formatter::ToPlainText($subscriber->Email) ?>" maxlength="80" required="required" />
|
||||
</label>
|
||||
<label class="captcha">
|
||||
Type the letters in the image
|
||||
Type the letters in the <abbr class="acronym">CAPTCHA</abbr> image
|
||||
<div>
|
||||
<input type="text" name="captcha" required="required" />
|
||||
<img src="/images/captcha" alt="A visual CAPTCHA." height="<?= CAPTCHA_IMAGE_HEIGHT ?>" width="<?= CAPTCHA_IMAGE_WIDTH ?>" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue