Re: Security Image Weblinks | Titre du sujet : Re: Security Image Weblinks par eparcyl92 sur 15/06/2008 08:40:31
JOBS 3.0 RC3 Bonjour, je commence ...
Le fichier addlisting.php
if (!empty($_POST['submit']) ) {
[b][color=FF0000]
// Hack SecurityImage by DuGris
include_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php");
if ( defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
redirect_header( '(script removed)history.go(-1)' , 3, _SECURITYIMAGE_ERROR ) ;
exit();
}
// Hack SecurityImage by DuGris [/color][/b]
$jobsdays=$xoopsModuleConfig['jobs_days'];
et
$form->addElement(new XoopsFormHidden("valid", "No"), false);
}
[b][color=FF0000]
// Hack SecurityImage by Dugris
if (defined('SECURITYIMAGE_INCLUDED')) {
$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
if ($security_image->render()) {
$form->addElement($security_image, true);
}
}
// Hack SecurityImage by Dugris [/color][/b]
$form->addElement(new XoopsFormButton('', 'submit', _JOBS_SUBMIT, 'submit'));
C'est pas fini.... je cherche la suite
|
|