summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-01-13 15:44:52 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-01-13 15:44:52 (GMT)
commit0dc0490ba02ebc695f7efd027f2b2af6f55ef1e1 (patch)
treec63c6042d3098c5ccb379a5c2215f5f7ab2df958 /plugins
parent21d7d8ba24c7428c1182cc645bd5cb8d177afd80 (diff)
downloadroundcubemail-plugins-kolab-0dc0490ba02ebc695f7efd027f2b2af6f55ef1e1.tar.gz
Render subscription table header icons using CSS (#4175); revert commit 99567e9b
Diffstat (limited to 'plugins')
-rw-r--r--plugins/kolab_activesync/kolab_activesync_ui.php6
-rw-r--r--plugins/kolab_activesync/skins/chameleon/alarm-clock.pngbin1117 -> 0 bytes
-rw-r--r--plugins/kolab_activesync/skins/chameleon/synchronize.pngbin1286 -> 0 bytes
-rw-r--r--plugins/kolab_activesync/skins/larry/config.css15
-rw-r--r--plugins/kolab_activesync/skins/larry/templates/configedit.html2
5 files changed, 20 insertions, 3 deletions
diff --git a/plugins/kolab_activesync/kolab_activesync_ui.php b/plugins/kolab_activesync/kolab_activesync_ui.php
index 4ede94d..257ec2a 100644
--- a/plugins/kolab_activesync/kolab_activesync_ui.php
+++ b/plugins/kolab_activesync/kolab_activesync_ui.php
@@ -146,10 +146,12 @@ class kolab_activesync_ui
$table = new html_table(array('cellspacing' => 0));
$table->add_header(array('class' => 'subscription', 'title' => $this->plugin->gettext('synchronize'), 'tabindex' => 0),
- $attrib['syncicon'] ? html::img(array('src' => $this->skin_path . $attrib['syncicon'])) : '');
+ $attrib['syncicon'] ? html::img(array('src' => $this->skin_path . $attrib['syncicon'])) :
+ $this->plugin->gettext('synchronize'));
if ($alarms) {
$table->add_header(array('class' => 'alarm', 'title' => $this->plugin->gettext('withalarms'), 'tabindex' => 0),
- $attrib['alarmicon'] ? html::img(array('src' => $this->skin_path . $attrib['alarmicon'])) : '');
+ $attrib['alarmicon'] ? html::img(array('src' => $this->skin_path . $attrib['alarmicon'])) :
+ $this->plugin->gettext('withalarms'));
}
$table->add_header('foldername', $this->plugin->gettext('folder'));
diff --git a/plugins/kolab_activesync/skins/chameleon/alarm-clock.png b/plugins/kolab_activesync/skins/chameleon/alarm-clock.png
deleted file mode 100644
index b54c1c3..0000000
--- a/plugins/kolab_activesync/skins/chameleon/alarm-clock.png
+++ /dev/null
Binary files differ
diff --git a/plugins/kolab_activesync/skins/chameleon/synchronize.png b/plugins/kolab_activesync/skins/chameleon/synchronize.png
deleted file mode 100644
index 6f0038e..0000000
--- a/plugins/kolab_activesync/skins/chameleon/synchronize.png
+++ /dev/null
Binary files differ
diff --git a/plugins/kolab_activesync/skins/larry/config.css b/plugins/kolab_activesync/skins/larry/config.css
index b61885b..fa2f913 100644
--- a/plugins/kolab_activesync/skins/larry/config.css
+++ b/plugins/kolab_activesync/skins/larry/config.css
@@ -71,6 +71,16 @@ div.subscriptionblock h3.note {
#foldersubscriptions thead th.alarm,
#foldersubscriptions thead th.subscription {
cursor: pointer;
+ overflow: hidden;
+ text-indent: -5000px;
+ background-image: url(synchronize.png);
+ background-position: center center;
+ background-repeat: no-repeat;
+ height: 16px;
+}
+
+#foldersubscriptions thead th.alarm {
+ background-image: url(alarm-clock.png);
}
#foldersubscriptions tbody td {
@@ -79,6 +89,11 @@ div.subscriptionblock h3.note {
border-bottom: 2px solid #fff;
}
+#foldersubscriptions tbody td.alarm,
+#foldersubscriptions tbody td.subscription {
+ text-align: center;
+}
+
#foldersubscriptions td label {
display: block;
}
diff --git a/plugins/kolab_activesync/skins/larry/templates/configedit.html b/plugins/kolab_activesync/skins/larry/templates/configedit.html
index 88f56cf..ac7b2b4 100644
--- a/plugins/kolab_activesync/skins/larry/templates/configedit.html
+++ b/plugins/kolab_activesync/skins/larry/templates/configedit.html
@@ -16,7 +16,7 @@
</fieldset>
<fieldset>
<legend><roundcube:label name="kolab_activesync.folderstosync" /></legend>
- <roundcube:object name="plugin.foldersubscriptions" form="configform" id="foldersubscriptions" syncicon="synchronize.png" alarmicon="alarm-clock.png" />
+ <roundcube:object name="plugin.foldersubscriptions" form="configform" id="foldersubscriptions" />
</fieldset>
</form>
</div>