Re: Security Image Weblinks | Titre du sujet : Re: Security Image Weblinks par eparcyl92 sur 25/07/2008 20:46:23
NEWBB Version 3.08 newbb/include/forumform.inc.php
$button_tray->addElement($preview_button);
[b][color=990000] // Hack SecurityImage by DuGris
include_once XOOPS_ROOT_PATH."/class/xoopsform/securityimage.php";
if ( defined('SECURITYIMAGE_INCLUDED') ) {
$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
if ($security_image->render()) {
$forum_form->addElement($security_image, true);
}
}
// Hack SecurityImage by DuGris [/color][/b]
$button_tray->addElement($submit_button);
post.php Attention: enlever les espaces du mot "j a v a s c r i p t"
include XOOPS_ROOT_PATH."/header.php";
[b][color=990000]// Hack SecurityImage by DuGris
include_once(XOOPS_ROOT_PATH . "/class/xoopsformloader.php");
if ( defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
redirect_header( 'j a v a s c r i p t:history.go(-1)', 2, _SECURITYIMAGE_ERROR ) ;
exit();
}
// Hack SecurityImage by DuGris [/color][/b]
if ( !empty($_POST['contents_submit']) ) {
viewtopic.php
$forum_form->addElement(new XoopsFormHidden('notify', -1));
[b][color=990000] // Hack SecurityImage by DuGris
if ( defined('SECURITYIMAGE_INCLUDED') ) {
$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
if ($security_image->render()) {
$forum_form->addElement($security_image, true);
}
}
// Hack SecurityImage by DuGris [/color][/b]
$forum_form->addElement(new XoopsFormHidden('contents_submit', 1));
Pour la partie "Repport", c'est comme pour la 1.16
Que la force soit avec vous....
|
|