Page MenuHomePhorge

D2092.1776880855.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D2092.1776880855.diff

diff --git a/plugins/kolab_activesync/kolab_activesync_ui.php b/plugins/kolab_activesync/kolab_activesync_ui.php
--- a/plugins/kolab_activesync/kolab_activesync_ui.php
+++ b/plugins/kolab_activesync/kolab_activesync_ui.php
@@ -183,23 +183,10 @@
$checkbox_sync = new html_checkbox(array('name' => 'subscribed[]', 'class' => 'subscription'));
$checkbox_alarm = new html_checkbox(array('name' => 'alarm[]', 'class' => 'alarm'));
- $names = array();
foreach ($a_folders as $folder) {
- $foldername = $origname = preg_replace('/^INBOX »\s+/', '', kolab_storage::object_prettyname($folder));
-
- // find folder prefix to truncate (the same code as in kolab_addressbook plugin)
- for ($i = count($names)-1; $i >= 0; $i--) {
- if (strpos($foldername, $names[$i].' » ') === 0) {
- $length = strlen($names[$i].' » ');
- $prefix = substr($foldername, 0, $length);
- $count = count(explode(' » ', $prefix));
- $foldername = str_repeat('  ', $count-1) . '» ' . substr($foldername, $length);
- break;
- }
- }
+ $foldername = kolab_storage::object_prettyname($folder);
$folder_id = 'rcmf' . rcube_utils::html_identifier($folder);
- $names[] = $origname;
$classes = array('mailbox');
if ($folder_class = $this->rc->folder_classname($folder)) {

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 22, 6:00 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18865020
Default Alt Text
D2092.1776880855.diff (1 KB)

Event Timeline