function vkxp_captcha_form in VK CrossPoster 6.2
Provides special form for captcha.
1 string reference to 'vkxp_captcha_form'
- vkxp_captcha_page in ./
vkxp.pages.inc - Provides special form for captcha.
File
- ./
vkxp.pages.inc, line 24 - vkxp.pages.inc Contains all forms for VKXP modue.
Code
function vkxp_captcha_form($form_state, $image) {
$form['image'] = array(
'#type' => 'item',
'#value' => '<img src = "' . $image . '" />',
);
$form['text'] = array(
'#type' => 'textfield',
'#size' => 10,
'#title' => t('Enter captcha text'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Send captcha'),
);
return $form;
}