plugins/kolab_activesync
Thomas Brüderli
bruederli at kolabsys.com
Tue Jan 13 16:45:06 CET 2015
dev/null |binary
plugins/kolab_activesync/kolab_activesync_ui.php | 6 ++--
plugins/kolab_activesync/skins/larry/config.css | 15 ++++++++++
plugins/kolab_activesync/skins/larry/templates/configedit.html | 2 -
4 files changed, 20 insertions(+), 3 deletions(-)
New commits:
commit 0dc0490ba02ebc695f7efd027f2b2af6f55ef1e1
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Tue Jan 13 16:44:52 2015 +0100
Render subscription table header icons using CSS (#4175); revert commit 99567e9b
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
Binary files a/plugins/kolab_activesync/skins/chameleon/alarm-clock.png and /dev/null 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
Binary files a/plugins/kolab_activesync/skins/chameleon/synchronize.png and /dev/null 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>
More information about the commits
mailing list