Changeset 5102 in subversion
- Timestamp:
- Aug 19, 2011 12:32:38 PM (21 months ago)
- Location:
- branches/release-0.6
- Files:
-
- 3 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
-
program/steps/settings/save_folder.inc (modified) (2 diffs)
-
skins/default/iehacks.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0.6/program/include/rcube_imap.php
r5091 r5102 3514 3514 function mailbox_info($mailbox) 3515 3515 { 3516 if ($this->icache['options'] && $this->icache['options']['name'] == $mailbox) { 3517 return $this->icache['options']; 3518 } 3519 3516 3520 $acl = $this->get_capability('ACL'); 3517 3521 $namespace = $this->get_namespace(); … … 3574 3578 $options['norename'] = $options['is_root'] || $options['namespace'] != 'personal'; 3575 3579 } 3580 3581 $this->icache['options'] = $options; 3576 3582 3577 3583 return $options; -
branches/release-0.6/program/steps/settings/save_folder.inc
r5022 r5102 56 56 } 57 57 58 // Check access rights to the parent folder59 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 68 58 if ($error) { 69 59 $OUTPUT->command('display_message', $error, 'error'); … … 79 69 $name_imap = $RCMAIL->imap->mod_mailbox($name_imap, 'in'); 80 70 } 71 } 81 72 73 // Check access rights to the parent folder 74 if (!$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 83 if (!$error) { 82 84 $folder['name'] = $name_imap; 83 85 $folder['oldname'] = $old_imap; -
branches/release-0.6/skins/default/iehacks.css
r5091 r5102 288 288 margin-left: -4px; 289 289 } 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.
