Changeset 9abd0f0 in github


Ignore:
Timestamp:
Nov 27, 2008 6:25:31 AM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b2265ae
Parents:
64aa248
Message:
  • Allow UTF-8 folder names in config (#1485579)
  • Add junk_mbox option configuration in installer (#1485579)
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r2c8e84c r9abd0f0  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42008/11/26 (alec) 
     5---------- 
     6- Allow UTF-8 folder names in config (#1485579) 
     7- Add junk_mbox option configuration in installer (#1485579) 
    38 
    492008/11/23 (thomasb) 
  • installer/config.php

    rec01712 r9abd0f0  
    349349 
    350350?> 
    351 <div>Store sent messages is this folder</div> 
     351<div>Store sent messages in this folder</div> 
    352352 
    353353<p class="hint">Leave blank if sent messages should not be stored</p> 
     
    375375 
    376376?> 
    377 <div>Store draft messages is this folder</div> 
    378 </dd> 
    379  
     377<div>Store draft messages in this folder</div> 
     378 
     379<p class="hint">Leave blank if they should not be stored</p> 
     380</dd> 
     381 
     382<dt class="propname">junk_mbox</dt> 
     383<dd> 
     384<?php 
     385 
     386$text_junkmbox = new html_inputfield(array('name' => '_junk_mbox', 'size' => 20, 'id' => "cfgjunkmbox")); 
     387echo $text_junkmbox->show($RCI->getprop('junk_mbox')); 
     388 
     389?> 
     390<div>Store spam messages in this folder</div> 
     391</dd> 
    380392</dl> 
    381393</fieldset> 
  • installer/utils.php

    rfee8c6c r9abd0f0  
    2525function Q($string) 
    2626{ 
    27   return htmlentities($string); 
     27  return htmlentities($string, ENT_COMPAT, 'UTF-8'); 
    2828} 
    2929 
  • program/include/rcube_config.php

    rcdc539d r9abd0f0  
    7575    $this->prop['log_dir'] = $this->prop['log_dir'] ? unslashify($this->prop['log_dir']) : INSTALL_PATH . 'logs'; 
    7676    $this->prop['temp_dir'] = $this->prop['temp_dir'] ? unslashify($this->prop['temp_dir']) : INSTALL_PATH . 'temp'; 
    77      
     77 
     78    // fix default imap folders encode 
     79    foreach (Array('draft_mbox', 'junk_mbox', 'sent_mbox', 'trash_mbox') as $folder) 
     80      $this->prop[$folder] = rcube_charset_convert($this->prop[$folder], RCMAIL_CHARSET, 'UTF-7'); 
     81 
     82    foreach ($this->prop['default_imap_folders'] as $n => $folder) 
     83      $this->prop['default_imap_folders'][$n] = rcube_charset_convert($folder, RCMAIL_CHARSET, 'UTF-7'); 
     84 
    7885    // set PHP error logging according to config 
    7986    if ($this->prop['debug_level'] & 1) { 
Note: See TracChangeset for help on using the changeset viewer.