Lines Matching refs:text
61 $text = $this->getLang('fillmath');
64 $text = $this->getConf('question');
67 $text = $this->getLang('fillcaptcha');
76 $out .= '<label for="plugin__captcha">' . $text . '</label> ';
80 case 'text':
104 $out .= ' <input type="text" size="' . $txtlen . '" name="' . $this->field_in . '" class="edit" /> ';
108 '<label class="no">%s<input type="text" name="%s" /></label>',
243 // prepare result and task text
257 * @param string $text the letters to display
260 public function imageCaptcha($text)
279 $txtlen = strlen($text);
290 imagettftext($img, $size, $angle, $x, $y, $color, $font, $text[$i]);
303 * @param string $text
306 public function audioCaptcha($text)
315 $text = strtolower($text);
316 $txtlen = strlen($text);
318 $char = $text[$i];
328 * Create an SVG of the given text
330 * @param string $text
333 public function svgCaptcha($text)
345 $txtlen = strlen($text);
347 $char = $text[$i];
482 * Adds random space characters within the given text
486 * @param $text
489 protected function obfuscateText($text)
532 $len = strlen($text);
534 $new .= $text[$i];
536 if (!is_numeric($text[$i + 1])) {
540 $new .= $text[$len - 1];