Merge branch 'master' of github.com:roundcube/roundcubemail
| | |
| | | RewriteEngine On |
| | | RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico |
| | | # security rules |
| | | RewriteRule .git/ - [F] |
| | | RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] |
| | | RewriteRule .git - [F] |
| | | RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG)$ - [F] |
| | | </IfModule> |
| | | |
| | | <IfModule mod_deflate.c> |
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Move messages forwarding mode setting into Preferences |
| | | - Add is_escaped attribute for html_select and html_textarea (#1488485) |
| | | - Fix HTML entities handling in HTML editor (#1488483) |
| | | - Fix listing shared folders on Courier IMAP (#1488466) |
| | |
| | | |
| | | // get list of subscribed folders |
| | | if ((strpos($folder, '%') === false) && (strpos($folder, '*') === false)) { |
| | | $a_subscribed = $this->_list_folders_subscribed('', $folder . $delm . '*'); |
| | | $a_subscribed = $this->list_folders_subscribed('', $folder . $delm . '*'); |
| | | $subscribed = $this->folder_exists($folder, true); |
| | | } |
| | | else { |
| | | $a_subscribed = $this->_list_folders_subscribed(); |
| | | $a_subscribed = $this->list_folders_subscribed(); |
| | | $subscribed = in_array($folder, $a_subscribed); |
| | | } |
| | | |
| | |
| | | $labels['spellcheckignorecaps'] = 'Ignore words with all letters capitalized'; |
| | | $labels['addtodict'] = 'Add to dictionary'; |
| | | $labels['mailtoprotohandler'] = 'Register protocol handler for mailto: links'; |
| | | $labels['forwardmode'] = 'Messages forwarding'; |
| | | $labels['inline'] = 'inline'; |
| | | $labels['asattachment'] = 'as attachment'; |
| | | |
| | | $labels['folder'] = 'Folder'; |
| | | $labels['folders'] = 'Folders'; |
| | |
| | | ); |
| | | } |
| | | |
| | | if (!isset($no_override['forward_attachment'])) { |
| | | $field_id = 'rcmfd_forward_attachment'; |
| | | $select = new html_select(array('name' => '_forward_attachment', 'id' => $field_id)); |
| | | $select->add(rcube_label('inline'), 0); |
| | | $select->add(rcube_label('asattachment'), 1); |
| | | |
| | | $blocks['main']['options']['forward_attachment'] = array( |
| | | 'title' => html::label($field_id, Q(rcube_label('forwardmode'))), |
| | | 'content' => $select->show(intval($config['forward_attachment'])), |
| | | ); |
| | | } |
| | | |
| | | if (!isset($no_override['default_font'])) { |
| | | $field_id = 'rcmfd_default_font'; |
| | | $fonts = rcube_fontdefs(); |
| | |
| | | 'strip_existing_sig' => isset($_POST['_strip_existing_sig']), |
| | | 'sig_above' => !empty($_POST['_sig_above']) && !empty($_POST['_top_posting']), |
| | | 'default_font' => get_input_value('_default_font', RCUBE_INPUT_POST), |
| | | 'forward_attachment' => !empty($_POST['_forward_attachment']), |
| | | ); |
| | | |
| | | break; |
| | |
| | | </div> |
| | | |
| | | <div id="forwardmenu" class="popupmenu"> |
| | | <ul class="toolbarmenu"> |
| | | <li class="block"> |
| | | <input type="radio" name="forwardtype" value="0" onchange="rcmail.command('save-pref', {name: 'forward_attachment', value: 0, env: 'forward_attachment'});" /> |
| | | <roundcube:button command="forward" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /> |
| | | </li> |
| | | <li class="block"> |
| | | <input type="radio" name="forwardtype" value="1" onchange="rcmail.command('save-pref', {name: 'forward_attachment', value: 1, env: 'forward_attachment'})" /> |
| | | <roundcube:button command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /> |
| | | </li> |
| | | <ul> |
| | | <li><roundcube:button command="forward" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /></li> |
| | | <li><roundcube:button command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /></li> |
| | | <roundcube:container name="forwardmenu" id="forwardmenu" /> |
| | | </ul> |
| | | </div> |