| | |
| | | $this->gettext('test')); |
| | | |
| | | $args['blocks']['new_message']['options'][$key] = array( |
| | | 'title' => html::label($field_id, Q($this->gettext($type))), |
| | | 'title' => html::label($field_id, rcube::Q($this->gettext($type))), |
| | | 'content' => $content |
| | | ); |
| | | } |
| | |
| | | foreach (array('basic', 'desktop', 'sound') as $type) { |
| | | $key = 'newmail_notifier_' . $type; |
| | | if (!in_array($key, $dont_override)) { |
| | | $args['prefs'][$key] = get_input_value('_'.$key, RCUBE_INPUT_POST) ? true : false; |
| | | $args['prefs'][$key] = rcube_utils::get_input_value('_'.$key, rcube_utils::INPUT_POST) ? true : false; |
| | | } |
| | | } |
| | | |