]> git.mxchange.org Git - shipsimu.git/blob - application/ship-simu/templates/de/code/captch_graphic_code.ctp
a134e303b1b7f93e567dd3c62c9de7cba4216b52
[shipsimu.git] / application / ship-simu / templates / de / code / captch_graphic_code.ctp
1 <?php
2 // Get a helper instance without a form tag
3 $captchaHelper = WebFormHelper::createWebFormHelper($this, 'captcha_code', false, false);
4 $captchaHelper->addFormGroup('code', "");
5 $captchaHelper->addFieldText('code', "Bitte wiederhole den Code:");
6 $captchaHelper->addInputTextField('code');
7 $captchaHelper->addInputHiddenField('hash', $this->readVariable('captcha_hash'));
8 $captchaHelper->flushContent();
9
10 // [EOF]
11 ?>
12 <div id="captcha_image">
13         <img src="$config[base_url]/index.php?app=ship-simu&amp;page=captcha_image&amp;encrypt={?encrypted_code?}&amp;response=image" alt="CAPTCHA-Bild" title="CAPTCHA-Bild" id="captcha_img" />
14 </div>
15 <div id="captcha_code">
16         {?captcha_code?}
17 </div>