/[drupal]/contributions/modules/captcha/captcha.admin.inc
ViewVC logotype

Diff of /contributions/modules/captcha/captcha.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.31, Thu Sep 24 07:31:26 2009 UTC revision 1.32, Tue Oct 27 16:11:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: captcha.admin.inc,v 1.30 2009/08/10 22:33:34 soxofaan Exp $  // $Id: captcha.admin.inc,v 1.31 2009/09/24 07:31:26 soxofaan Exp $
3    
4  /**  /**
5   * Return an array with the available CAPTCHA types, for use as options array   * Return an array with the available CAPTCHA types, for use as options array
# Line 453  function captcha_examples($form_state, $ Line 453  function captcha_examples($form_state, $
453        '#value' => t('This page gives an overview of all available challenge types, generated with their current settings.'),        '#value' => t('This page gives an overview of all available challenge types, generated with their current settings.'),
454      );      );
455      foreach (module_implements('captcha') as $mkey => $module) {      foreach (module_implements('captcha') as $mkey => $module) {
456        $challenges = call_user_func_array($module .'_captcha', 'list');        $challenges = call_user_func_array($module .'_captcha', array('list'));
457        if ($challenges) {        if ($challenges) {
458          foreach ($challenges as $ckey => $challenge) {          foreach ($challenges as $ckey => $challenge) {
459            $form["captcha_{$mkey}_{$ckey}"] = array(            $form["captcha_{$mkey}_{$ckey}"] = array(

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.2