1
Hello
i have this simple Module for a Form to contact me , i need to use XOOPS Captcha with it ,
How ? and I need the Function for xoops_version.php to be able to enable or disable the captcha .. this is the Form .
include("../../../mainfile.php");
include '../../../include/cp_header.php';
if ( file_exists(XOOPS_ROOT_PATH."/modules/call/language/".$xoopsConfig['language']."/main.php") )
{
include_once(XOOPS_ROOT_PATH."/modules/call/language/".$xoopsConfig['language']."/main.php");
}
else
{
include_once(XOOPS_ROOT_PATH."/modules/call/language/english/main.php");
}
echo "";
xoops_cp_footer();
?>
this wht i added to the xoops_version.php
$modversion['config'][1]['name'] = 'verifytype';
$modversion['config'][1]['title'] = '_MI_VERTYPE';
$modversion['config'][1]['description'] = '_MI_VERTYPEDSC';
$modversion['config'][1]['formtype'] = 'yesno';
$modversion['config'][1]['valuetype'] = 'int';
$modversion['config'][1]['default'] = '0';
I just do not know how to make the verifytype Function . in the above form