| | |
| | | 1 => 'notifyimportancehigh' |
| | | ); |
| | | |
| | | const VERSION = '8.4'; |
| | | const VERSION = '8.5'; |
| | | const PROGNAME = 'Roundcube (Managesieve)'; |
| | | const PORT = 4190; |
| | | |
| | |
| | | else if ($action == 'act' && !$error) { |
| | | if (isset($this->script[$fid])) { |
| | | $rule = $this->script[$fid]; |
| | | $disabled = $rule['disabled'] ? true : false; |
| | | $disabled = !empty($rule['disabled']); |
| | | $rule['disabled'] = !$disabled; |
| | | $result = $this->sieve->script->update_rule($fid, $rule); |
| | | |
| | |
| | | } |
| | | } |
| | | else if ($action == 'setget') { |
| | | $this->rc->request_security_check(rcube_utils::INPUT_GET); |
| | | |
| | | $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_GPC, true); |
| | | $script = $this->sieve->get_script($script_name); |
| | | |