Changeset d43d4bc in github


Ignore:
Timestamp:
Aug 19, 2011 12:32:38 PM (21 months ago)
Author:
thomascube <thomas@…>
Branches:
release-0.6
Children:
9f61af3, c96a8cc
Parents:
b6cd452
Message:

Backporting r5092, r5095, r5096 to release-0.6 branch

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    rb6cd452 rd43d4bc  
    35143514    function mailbox_info($mailbox) 
    35153515    { 
     3516        if ($this->icache['options'] && $this->icache['options']['name'] == $mailbox) { 
     3517            return $this->icache['options']; 
     3518        } 
     3519 
    35163520        $acl       = $this->get_capability('ACL'); 
    35173521        $namespace = $this->get_namespace(); 
     
    35743578            $options['norename'] = $options['is_root'] || $options['namespace'] != 'personal'; 
    35753579        } 
     3580 
     3581        $this->icache['options'] = $options; 
    35763582 
    35773583        return $options; 
  • program/steps/settings/save_folder.inc

    rc6c99c8 rd43d4bc  
    5656} 
    5757 
    58 // Check access rights to the parent folder 
    59 if (!$error && strlen($path)) { 
    60     $parent_opts = $RCMAIL->imap->mailbox_info($path); 
    61     if ($parent_opts['namespace'] != 'personal' 
    62         && (empty($parent_opts['rights']) || !preg_match('/[ck]/', implode($parent_opts))) 
    63     ) { 
    64         $error = rcube_label('parentnotwritable'); 
    65     } 
    66 } 
    67  
    6858if ($error) { 
    6959    $OUTPUT->command('display_message', $error, 'error'); 
     
    7969        $name_imap = $RCMAIL->imap->mod_mailbox($name_imap, 'in'); 
    8070    } 
     71} 
    8172 
     73// Check access rights to the parent folder 
     74if (!$error && strlen($path) && (!strlen($old_imap) || $old_imap != $name_imap)) { 
     75    $parent_opts = $RCMAIL->imap->mailbox_info($path); 
     76    if ($parent_opts['namespace'] != 'personal' 
     77        && (empty($parent_opts['rights']) || !preg_match('/[ck]/', implode($parent_opts))) 
     78    ) { 
     79        $error = rcube_label('parentnotwritable'); 
     80    } 
     81} 
     82 
     83if (!$error) { 
    8284    $folder['name']     = $name_imap; 
    8385    $folder['oldname']  = $old_imap; 
  • skins/default/iehacks.css

    rb6cd452 rd43d4bc  
    288288        margin-left: -4px; 
    289289} 
     290 
     291/* fix "jumping" login form in IE7 */ 
     292#login-form div.boxcontent 
     293{ 
     294  overflow: hidden; 
     295} 
Note: See TracChangeset for help on using the changeset viewer.