setting.tpl
admin/controller /setting/ setting.php
$this->data['entry_captcha'] = $this->language->get('entry_captcha');
if (isset($this->request->post['config_captcha'])) {
$this->data['config_captcha'] = $this->request->post['config_captcha'];
} else {
$this->data['config_captcha'] = $this->config->get('config_captcha');
}
language/english/setting/ setting.php
$_['entry_captcha'] = 'Verify save code ';
//
//some where
if($this->config->get('config_captcha')){
if (empty($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['captcha'] = $this->language->get('error_captcha');
}
}
admin/controller /setting/ setting.php
$this->data['entry_captcha'] = $this->language->get('entry_captcha');
if (isset($this->request->post['config_captcha'])) {
$this->data['config_captcha'] = $this->request->post['config_captcha'];
} else {
$this->data['config_captcha'] = $this->config->get('config_captcha');
}
language/english/setting/ setting.php
$_['entry_captcha'] = 'Verify save code ';
//
//some where
if($this->config->get('config_captcha')){
if (empty($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['captcha'] = $this->language->get('error_captcha');
}
}
0朵
0个