From fff3765d8c7a61a4e4e723b8403f76133c59df9d Mon Sep 17 00:00:00 2001 From: Repellent Date: Tue, 11 Oct 2016 22:57:36 +0300 Subject: [PATCH] Upload new file --- editcaptcha/module.php | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 editcaptcha/module.php diff --git a/editcaptcha/module.php b/editcaptcha/module.php new file mode 100644 index 0000000..ea070fd --- /dev/null +++ b/editcaptcha/module.php @@ -0,0 +1,62 @@ +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; + + } +} +?> \ No newline at end of file