Changeset 26069 for extensions/EasyCaptcha/include/picture.inc.php
- Timestamp:
- Dec 21, 2013, 6:37:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/EasyCaptcha/include/picture.inc.php
r26025 r26069 2 2 defined('EASYCAPTCHA_ID') or die('Hacking attempt!'); 3 3 4 $conf['EasyCaptcha']['template'] = 'comment'; 4 5 include(EASYCAPTCHA_PATH.'include/common.inc.php'); 6 5 7 add_event_handler('loc_end_picture', 'add_easycaptcha'); 6 8 add_event_handler('user_comment_check', 'check_easycaptcha', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); … … 15 17 { 16 18 $search = '{$comment_add.CONTENT}</textarea></p>'; 17 return str_replace($search, $search."\n{\$EASYCAPTCHA _CONTENT}", $content);19 return str_replace($search, $search."\n{\$EASYCAPTCHA.parsed_content}", $content); 18 20 } 19 21
Note: See TracChangeset
for help on using the changeset viewer.