Changeset 15118
- Timestamp:
- May 19, 2012, 11:40:58 AM (12 years ago)
- Location:
- extensions/CryptograPHP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/include/category.inc.php
r14527 r15118 39 39 $securimage = new Securimage(); 40 40 41 if ( $action == 'reject' or $action == $conf['cryptographp']['comments_action'] or !is_a_guest() ) 42 { 43 return $action; 44 } 41 if (!is_a_guest()) return $action; 45 42 46 43 if ($securimage->check($_POST['captcha_code']) == false) 47 44 { 48 45 if ($conf['cryptographp']['comments_action'] == 'reject') array_push($page['errors'], l10n('Invalid Captcha')); 49 return $conf['cryptographp']['comments_action'];46 return ($action != 'reject') ? $conf['cryptographp']['comments_action'] : 'reject'; 50 47 } 51 48 -
extensions/CryptograPHP/include/picture.inc.php
r14527 r15118 39 39 $securimage = new Securimage(); 40 40 41 if ( $action == 'reject' or $action == $conf['cryptographp']['comments_action'] or !is_a_guest() ) 42 { 43 return $action; 44 } 41 if (!is_a_guest()) return $action; 45 42 46 43 if ($securimage->check($_POST['captcha_code']) == false) 47 44 { 48 45 if ($conf['cryptographp']['comments_action'] == 'reject') array_push($page['errors'], l10n('Invalid Captcha')); 49 return $conf['cryptographp']['comments_action'];46 return ($action != 'reject') ? $conf['cryptographp']['comments_action'] : 'reject'; 50 47 } 51 48 -
extensions/CryptograPHP/template/admin.tpl
r14527 r15118 222 222 </fieldset> 223 223 224 <p class="bottomButtons">225 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit">226 </p>227 224 </fieldset> 225 <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"></p> 228 226 </form> 229 227
Note: See TracChangeset
for help on using the changeset viewer.