| | |
| | | 1 => 'notifyimportancehigh' |
| | | ); |
| | | |
| | | const VERSION = '8.4'; |
| | | const VERSION = '8.5'; |
| | | const PROGNAME = 'Roundcube (Managesieve)'; |
| | | const PORT = 4190; |
| | | |
| | |
| | | } |
| | | } |
| | | 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); |
| | | |
| | |
| | | foreach ($sizeitems as $item) |
| | | $items[] = $item; |
| | | |
| | | $this->form['disabled'] = $_POST['_disabled'] ? true : false; |
| | | $this->form['join'] = $join=='allof' ? true : false; |
| | | $this->form['disabled'] = !empty($_POST['_disabled']); |
| | | $this->form['join'] = $join == 'allof'; |
| | | $this->form['name'] = $name; |
| | | $this->form['tests'] = array(); |
| | | $this->form['actions'] = array(); |
| | |
| | | $test = $rule['type']; |
| | | } |
| | | else if (in_array($rule['test'], $set)) { |
| | | $test = ($rule['not'] ? 'not' : '') . ($rule['type'] ? $rule['type'] : 'is'); |
| | | $test = ($rule['not'] ? 'not' : '') . ($rule['type'] ?: 'is'); |
| | | } |
| | | else { |
| | | $test = ($rule['not'] ? 'not' : '') . $rule['test']; |
| | |
| | | if (empty($filter['actions'])) { |
| | | continue; |
| | | } |
| | | $fname = $filter['name'] ? $filter['name'] : "#$i"; |
| | | $fname = $filter['name'] ?: "#$i"; |
| | | $result[] = array( |
| | | 'id' => $idx, |
| | | 'name' => $fname, |