summaryrefslogtreecommitdiff
path: root/plugins/tasklist/tasklist_ui.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-09-11 13:54:15 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-09-11 13:54:15 (GMT)
commit6b7fc6729d23e273f4e5a9cbbd2f6cd7ec8b9ba8 (patch)
treefde4fe65588483c3bd7fabbf08edb3fff796b661 /plugins/tasklist/tasklist_ui.php
parentc3151bea8aaea994ba4cb98a95ee15eb64194ed5 (diff)
downloadroundcubemail-plugins-kolab-6b7fc6729d23e273f4e5a9cbbd2f6cd7ec8b9ba8.tar.gz
Added 'actions' bar and new icons for groupware folders as suggested by the product feature description
Diffstat (limited to 'plugins/tasklist/tasklist_ui.php')
-rw-r--r--plugins/tasklist/tasklist_ui.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/tasklist/tasklist_ui.php b/plugins/tasklist/tasklist_ui.php
index 8d4170a..b7bb4d4 100644
--- a/plugins/tasklist/tasklist_ui.php
+++ b/plugins/tasklist/tasklist_ui.php
@@ -248,9 +248,12 @@ class tasklist_ui
return html::div(join(' ', $classes),
html::span(array('class' => 'listname', 'title' => $title, 'id' => $label_id), $prop['listname'] ?: $prop['name']) .
($prop['virtual'] ? '' :
- html::tag('input', array('type' => 'checkbox', 'name' => '_list[]', 'value' => $id, 'checked' => $prop['active'], 'aria-labelledby' => $label_id)) .
- html::a(array('href' => '#', 'class' => 'quickview', 'title' => $this->plugin->gettext('focusview'), 'role' => 'checkbox', 'aria-checked' => 'false'), ' ') .
- (isset($prop['subscribed']) ? html::a(array('href' => '#', 'class' => 'subscribed', 'title' => $this->plugin->gettext('tasklistsubscribe'), 'role' => 'checkbox', 'aria-checked' => $prop['subscribed'] ? 'true' : 'false'), ' ') : '')
+ html::tag('input', array('type' => 'checkbox', 'name' => '_list[]', 'value' => $id, 'checked' => $prop['active'], 'aria-labelledby' => $label_id)) .
+ html::span('actions',
+ ($prop['removable'] ? html::a(array('href' => '#', 'class' => 'remove', 'title' => $this->plugin->gettext('removelist')), ' ') : '') .
+ html::a(array('href' => '#', 'class' => 'quickview', 'title' => $this->plugin->gettext('focusview'), 'role' => 'checkbox', 'aria-checked' => 'false'), ' ') .
+ (isset($prop['subscribed']) ? html::a(array('href' => '#', 'class' => 'subscribed', 'title' => $this->plugin->gettext('tasklistsubscribe'), 'role' => 'checkbox', 'aria-checked' => $prop['subscribed'] ? 'true' : 'false'), ' ') : '')
+ )
)
);
}