Ignore:
Timestamp:
Dec 21, 2013, 5:36:13 PM (10 years ago)
Author:
mistic100
Message:

compatibility with contactform and guestbook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/EasyCaptcha/include/guestbook.inc.php

    r26025 r26068  
    44include(EASYCAPTCHA_PATH.'include/common.inc.php');
    55add_event_handler('loc_begin_index', 'add_easycaptcha');
    6 add_event_handler('user_comment_check_guestbook', 'check_easycaptcha', EVENT_HANDLER_PRIORITY_NEUTRAL, 2);
     6add_event_handler('user_comment_check', 'check_easycaptcha', EVENT_HANDLER_PRIORITY_NEUTRAL, 2);
    77
    88function add_easycaptcha()
    99{
    1010  global $template;
    11   $template->set_prefilter('index', 'prefilter_easycaptcha');
     11  $template->set_prefilter('guestbook', 'prefilter_easycaptcha');
    1212}
    1313
Note: See TracChangeset for help on using the changeset viewer.