summaryrefslogtreecommitdiff
path: root/skins/default/templates/identities.html
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-02-09 13:11:39 +0000
committeralecpl <alec@alec.pl>2012-02-09 13:11:39 +0000
commitd47a4f0951555554c0479953f4410876686954a5 (patch)
tree6951d24cdcd2633b92c5e4148ca8f05b13f0a7de /skins/default/templates/identities.html
parent6db9df39c6f1fd7b8242a4d90345d53c4dbfa154 (diff)
- Handle identity details box with an iframe (#1487020)
- Fix issue where tabs were overlapping box title
Diffstat (limited to 'skins/default/templates/identities.html')
-rw-r--r--skins/default/templates/identities.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/skins/default/templates/identities.html b/skins/default/templates/identities.html
index f40f394fc..70484ebe9 100644
--- a/skins/default/templates/identities.html
+++ b/skins/default/templates/identities.html
@@ -7,7 +7,7 @@
<script type="text/javascript" src="/splitter.js"></script>
<style type="text/css">
#identities-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; }
-#identity-details { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px;
+#identity-box { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px;
<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305).')+\\'px\\');') : ''" />
}
</style>
@@ -32,14 +32,12 @@
</div>
<script type="text/javascript">
- var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'identities-list', p2: 'identity-details', orientation: 'v', relative: true, start: 300 });
+ var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'identities-list', p2: 'identity-box', orientation: 'v', relative: true, start: 300 });
rcmail.add_onload('identviewsplit.init()');
</script>
-<div id="identity-details">
- <div style="margin:10px auto; text-align:center">
- <img src="/images/watermark.gif" width="260" height="228" alt="" />
- </div>
+<div id="identity-box">
+ <roundcube:object name="identityframe" id="identity-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
</div>
</div>