Changeset 26072 for extensions/CryptograPHP/include/category.inc.php
- Timestamp:
- Dec 21, 2013, 6:39:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/include/category.inc.php
r26041 r26072 2 2 defined('CRYPTO_ID') or die('Hacking attempt!'); 3 3 4 $conf['cryptographp']['template'] = 'comment'; 4 5 include(CRYPTO_PATH.'include/common.inc.php'); 6 5 7 add_event_handler('loc_begin_index', 'add_crypto'); 6 8 add_event_handler('user_comment_check_albums', 'check_crypto', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); … … 15 17 { 16 18 $search = '{$comment_add.CONTENT}</textarea></p>'; 17 return str_replace($search, $search."\n{\$CRYPTO GRAPHP}", $content);19 return str_replace($search, $search."\n{\$CRYPTO.parsed_content}", $content); 18 20 } 19 21
Note: See TracChangeset
for help on using the changeset viewer.