summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-03-23 13:14:32 +0000
committeralecpl <alec@alec.pl>2011-03-23 13:14:32 +0000
commitf30fbb60df0906439dc4a4024235b6eb5495f427 (patch)
treea1d69ff3f3f9f3fe5c3a073d4640a1b6203407e9 /skins/default/templates
parent4380ebe1f192ea2abd7eff4a50939761595ba70e (diff)
- Use size-optimized quota indicator image (use old gif version on IE6 only)
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/folders.html2
-rw-r--r--skins/default/templates/mail.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/default/templates/folders.html b/skins/default/templates/folders.html
index 95634f358..923027d0c 100644
--- a/skins/default/templates/folders.html
+++ b/skins/default/templates/folders.html
@@ -31,7 +31,7 @@
<roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_popup('mailboxmenu');return false" content=" " />
<roundcube:if condition="env:quota" />
- <img id="quotaimg" src="/images/quota.gif" alt="" />
+ <img id="quotaimg" src="/images/quota.<roundcube:exp expression="browser:ie && browser:ver < 7 ? 'gif' : 'png'" />" alt="" />
<div id="quota">
<roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" />
</div>
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 5e2a64d4f..06fdb3354 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -34,7 +34,7 @@
<roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_popup('mailboxmenu');return false" content=" " />
<roundcube:if condition="env:quota" />
-<img id="quotaimg" src="/images/quota.gif" alt="" />
+<img id="quotaimg" src="/images/quota.<roundcube:exp expression="browser:ie && browser:ver < 7 ? 'gif' : 'png'" />" alt="" />
<div id="quota">
<roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" />
</div>