| | |
| | | 'add-response' => 'edit_response.inc', |
| | | 'save-response' => 'edit_response.inc', |
| | | 'delete-response' => 'responses.inc', |
| | | 'delete-identity' => 'identities.inc', |
| | | 'upload-display' => 'upload.inc', |
| | | )); |
| | | |
| | |
| | | $select_default_font->add('', ''); |
| | | |
| | | $fonts = rcmail::font_defs(); |
| | | foreach ($fonts as $fname => $font) { |
| | | foreach (array_keys($fonts) as $fname) { |
| | | $select_default_font->add($fname, $fname); |
| | | } |
| | | |
| | |
| | | $blocks['main']['options']['reply_all_mode'] = array( |
| | | 'title' => html::label($field_id, rcube::Q($RCMAIL->gettext('replyallmode'))), |
| | | 'content' => $select->show(intval($config['reply_all_mode'])), |
| | | ); |
| | | } |
| | | |
| | | if (!isset($no_override['compose_save_localstorage'])) { |
| | | if (!$current) { |
| | | continue 2; |
| | | } |
| | | |
| | | $field_id = 'rcmfd_compose_save_localstorage'; |
| | | $input = new html_checkbox(array('name' => '_compose_save_localstorage', 'id' => $field_id, 'value' => 1)); |
| | | |
| | | $blocks['advanced']['options']['compose_save_localstorage'] = array( |
| | | 'title' => html::label($field_id, rcube::Q($RCMAIL->gettext('savelocalstorage'))), |
| | | 'content' => $input->show($config['compose_save_localstorage']?1:0), |
| | | ); |
| | | } |
| | | |
| | |
| | | $protect_folders = $RCMAIL->config->get('protect_default_folders'); |
| | | $storage = $RCMAIL->get_storage(); |
| | | $delimiter = $storage->get_hierarchy_delimiter(); |
| | | $name_utf8 = rcube_charset::convert($name, 'UTF7-IMAP'); |
| | | $protected = $protect_folders && $storage->is_special_folder($name); |
| | | |
| | | $name_utf8 = rcube_charset::convert($name, 'UTF7-IMAP'); |
| | | $protected = $protect_folders && $storage->is_special_folder($name); |
| | | $foldersplit = explode($delimiter, $storage->mod_folder($name)); |
| | | $level = count($foldersplit) - 1; |
| | | $display_name = str_repeat(' ', $level) |
| | | . rcube::Q($protected ? $RCMAIL->localize_foldername($name) : rcube_charset::convert($foldersplit[$level], 'UTF7-IMAP')); |
| | | $display_name = $protected ? $RCMAIL->localize_foldername($name) : rcube_charset::convert($foldersplit[$level], 'UTF7-IMAP'); |
| | | $class_name = trim($class_name . ' mailbox'); |
| | | |
| | | if ($oldname === null) { |
| | | $OUTPUT->command('add_folder_row', $name_utf8, $display_name, $protected, $subscribe, |
| | | false, $class_name); |
| | | $OUTPUT->command('add_folder_row', $name, $name_utf8, $display_name, $protected, $subscribe, |
| | | $class_name); |
| | | } |
| | | else { |
| | | $OUTPUT->command('replace_folder_row', rcube_charset::convert($oldname, 'UTF7-IMAP'), |
| | | $name_utf8, $display_name, $protected, $class_name); |
| | | $OUTPUT->command('replace_folder_row', $oldname, $name, $name_utf8, $display_name, $protected, $class_name); |
| | | } |
| | | } |
| | | |
| | |
| | | $tagname = $attrib['tagname']; |
| | | $tabs = array(); |
| | | |
| | | foreach ($plugin['actions'] as $k => $action) { |
| | | foreach ($plugin['actions'] as $action) { |
| | | if (!$action['command'] && !$action['href'] && $action['action']) { |
| | | $action['href'] = $RCMAIL->url(array('_action' => $action['action'])); |
| | | } |