mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Support methods to load and check CAPTCHA wherever a developer wants
This commit is contained in:
parent
01984210b6
commit
307661b57b
10 changed files with 127 additions and 11 deletions
|
|
@ -86,6 +86,20 @@ class SpamfilterAdminView extends Spamfilter
|
|||
|
||||
$this->setTemplateFile('config_captcha');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAPTCHA Test
|
||||
*/
|
||||
public function dispSpamfilterAdminConfigCaptchaTest()
|
||||
{
|
||||
$config = ModuleModel::getModuleConfig('spamfilter');
|
||||
Context::set('config', $config);
|
||||
|
||||
$captcha = SpamfilterModel::getCaptcha();
|
||||
Context::set('captcha', $captcha);
|
||||
|
||||
$this->setTemplateFile('captcha_test');
|
||||
}
|
||||
}
|
||||
/* End of file spamfilter.admin.view.php */
|
||||
/* Location: ./modules/spamfilter/spamfilter.admin.view.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue