diff options
Diffstat (limited to 'plugins/kolab_zpush/kolab_zpush_ui.php')
-rw-r--r-- | plugins/kolab_zpush/kolab_zpush_ui.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/kolab_zpush/kolab_zpush_ui.php b/plugins/kolab_zpush/kolab_zpush_ui.php index 3d2fbcc..0e8e6e9 100644 --- a/plugins/kolab_zpush/kolab_zpush_ui.php +++ b/plugins/kolab_zpush/kolab_zpush_ui.php @@ -143,7 +143,6 @@ class kolab_zpush_ui } $names[] = $origname; - $classes = array('mailbox'); if ($folder_class = $this->rc->folder_classname($folder)) { @@ -152,9 +151,8 @@ class kolab_zpush_ui } $folder_id = 'rcmf' . html_identifier($folder); - $padding = str_repeat(' ', $level); - $table->add_row(array('class' => (($level+1) * $idx++) % 2 == 0 ? 'even' : 'odd')); + $table->add_row(); $table->add('subscription', $checkbox_sync->show('', array('value' => $folder, 'id' => $folder_id))); if ($alarms) @@ -162,7 +160,7 @@ class kolab_zpush_ui else $table->add('alarm', ''); - $table->add(join(' ', $classes), html::label($folder_id, $padding . Q($foldername))); + $table->add(join(' ', $classes), html::label($folder_id, Q($foldername))); } return $table->show(); |