Ignore:
Timestamp:
Dec 21, 2013, 6:39:06 PM (10 years ago)
Author:
mistic100
Message:

try to simplify integration of captchas

File:
1 edited

Legend:

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

    r26041 r26072  
    1515  'CRYPTO_PATH' => get_absolute_root_url().CRYPTO_PATH,
    1616  ));
    17  
     17
    1818$template->set_filename('cryptographp', realpath(CRYPTO_PATH.'template/'.$conf['cryptographp']['template'].'.tpl'));
    19 $template->assign_var_from_handle('CRYPTOGRAPHP', 'cryptographp');
     19$template->append('CRYPTO', array('parsed_content' => $template->parse('cryptographp', true)), true);
Note: See TracChangeset for help on using the changeset viewer.