mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Create config screen for reCAPTCHA in spamfilter module
This commit is contained in:
parent
9c60a8932c
commit
c7c03d3c37
13 changed files with 283 additions and 30 deletions
|
|
@ -70,13 +70,22 @@ class spamfilterAdminView extends spamfilter
|
|||
*/
|
||||
function dispSpamfilterAdminConfigBlock()
|
||||
{
|
||||
// Get configurations (using module model object)
|
||||
$oModuleModel = getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('spamfilter');
|
||||
$config = ModuleModel::getModuleConfig('spamfilter');
|
||||
Context::set('config', $config);
|
||||
|
||||
$this->setTemplateFile('config_block');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Configure CAPTCHA
|
||||
*/
|
||||
function dispSpamfilterAdminConfigCaptcha()
|
||||
{
|
||||
$config = ModuleModel::getModuleConfig('spamfilter');
|
||||
Context::set('config', $config);
|
||||
|
||||
$this->setTemplateFile('config_captcha');
|
||||
}
|
||||
}
|
||||
/* 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