В файле action.default.php (Acomments) вроде прописано, что при существующем модуле Captcha он должен выведен в AComments,но он не появляется .
Code: Select all
// captcha spam protection
if ($spamprotect) {
if (isset($this->cms->modules['Captcha'])) {
$captcha = &$this->getModuleInstance('Captcha');
// $smarty->assign('captcha_title', $this->Lang('captcha_title'));
$smarty->assign('spamprotectimage',$captcha->getCaptcha()); }
Code: Select all
echo $captcha->getCaptcha(); // show the captcha image