[Evocms-plugins-commits] SF.net SVN: evocms-plugins:[1195] captcha_img_plugin/trunk/_captcha_img. p
Brought to you by:
blueyed
From: <bl...@us...> - 2010-03-28 00:36:26
|
Revision: 1195 http://evocms-plugins.svn.sourceforge.net/evocms-plugins/?rev=1195&view=rev Author: blueyed Date: 2010-03-28 00:36:20 +0000 (Sun, 28 Mar 2010) Log Message: ----------- captcha_img_plugin 2.0.2: make display of trackback address work (prevent canonical redirect). Thanks ednong. Modified Paths: -------------- captcha_img_plugin/trunk/_captcha_img.plugin.php Modified: captcha_img_plugin/trunk/_captcha_img.plugin.php =================================================================== --- captcha_img_plugin/trunk/_captcha_img.plugin.php 2010-03-25 20:33:59 UTC (rev 1194) +++ captcha_img_plugin/trunk/_captcha_img.plugin.php 2010-03-28 00:36:20 UTC (rev 1195) @@ -63,7 +63,7 @@ */ class captcha_img_plugin extends Plugin { - var $version = '2.0.1'; + var $version = '2.0.2'; var $group = 'antispam'; /** @@ -755,8 +755,7 @@ else { // TODO: Provide fieldset with explanation - - $Form = new Form( regenerate_url() ); + $Form = new Form(''); $Form->switch_layout('inline'); $Form->begin_form(); $params['Form'] = & $Form; @@ -764,6 +763,8 @@ $r = $this->CaptchaPayload($params); $Form->button( array( 'submit', 'submit', $this->T_('Display trackback URL'), 'ActionButton' ) ); + $Form->hiddens_by_key( get_memorized() ); + $Form->hidden('redir', 'no'); // prevent canonical redirect $Form->end_form(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |