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

compatibility with contactform and guestbook

Location:
extensions/CryptograPHP/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/include/contactform.inc.php

    r26041 r26066  
    99{
    1010  global $template;
    11   $template->set_prefilter('index', 'prefilter_crypto');
     11  $template->set_prefilter('contactform', 'prefilter_crypto');
    1212}
    1313
  • extensions/CryptograPHP/include/guestbook.inc.php

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