]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shoutbox/templates/de/code/captch_graphic_code.ctp
Shoutbox stub added (will be moved out later on)
[shipsimu.git] / application / shoutbox / templates / de / code / captch_graphic_code.ctp
diff --git a/application/shoutbox/templates/de/code/captch_graphic_code.ctp b/application/shoutbox/templates/de/code/captch_graphic_code.ctp
new file mode 100644 (file)
index 0000000..400a861
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+// Get a helper instance without a form tag
+$captchaHelper = WebFormHelper::createWebFormHelper($this, 'captcha_code', false, false);
+$captchaHelper->addFieldText('captcha_code', "Bitte wiederhole den Code:");
+$captchaHelper->addInputTextField('c_code');
+$captchaHelper->addInputHiddenField('hash', $this->readVariable('captcha_hash'));
+$captchaHelper->flushContent();
+
+// [EOF]
+?>
+<div class="captcha_image">
+       <img src="$config[base_url]/index.php?app={?app_short_name?}&amp;page=code_captcha&amp;encrypt={?encrypted_code?}&amp;response=image" alt="CAPTCHA-Bild" title="CAPTCHA-Bild" class="captcha_img" />
+</div>
+<div class="captcha_code">
+       {?captcha_code?}
+</div>