You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
805 B
41 lines
805 B
<?php |
|
|
|
/** |
|
* AVE.cms - Модуль Настройки captcha |
|
* @autor Repellent |
|
* @package AVE.cms |
|
* @subpackage editcaptcha |
|
* @filesource |
|
*/ |
|
|
|
if(!defined('BASE_DIR')) exit; |
|
|
|
|
|
/** |
|
* Админка |
|
*/ |
|
if (defined('ACP') && (isset($_REQUEST['moduleaction']))) |
|
{ |
|
// класс |
|
require_once(BASE_DIR . '/modules/editcaptcha/class/editcaptcha.php'); |
|
|
|
$captcha = new ModuleEditcaptcha; |
|
|
|
// папка с шаблонами |
|
$captcha->tpl_dir = BASE_DIR . '/modules/editcaptcha/templates/'; |
|
|
|
// ленги |
|
$AVE_Template->config_load(BASE_DIR . '/modules/editcaptcha/lang/' . $_SESSION['admin_language'] . '.txt', 'admin'); |
|
$AVE_Template->assign('config_vars', $AVE_Template->get_config_vars()); |
|
|
|
|
|
|
|
switch($_REQUEST['moduleaction']) |
|
{ |
|
case '1': |
|
$captcha->editCaptcha(); |
|
break; |
|
|
|
} |
|
} |
|
?>
|