diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-30 16:58:59 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-30 16:58:59 +0000 |
| commit | 5dd1da81679d754e6fa4b8019d37ba0f3360c60a (patch) | |
| tree | 06723b21bd782a3fecb89bfdcb2b6abb5200f77d | |
| parent | 38dcac5c1d69cfe6a8a3a04c750de35fd38c1339 (diff) | |
Fix bug in IE code; show (tem,porary) warning for old IEs
git-svn-id: https://svn.roundcube.net/trunk@5668 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/skins/larry/templates/login.html | 2 | ||||
| -rw-r--r-- | roundcubemail/skins/larry/ui.js | 20 |
2 files changed, 20 insertions, 2 deletions
diff --git a/roundcubemail/skins/larry/templates/login.html b/roundcubemail/skins/larry/templates/login.html index 816d4693b..7c861e8d3 100644 --- a/roundcubemail/skins/larry/templates/login.html +++ b/roundcubemail/skins/larry/templates/login.html @@ -32,5 +32,7 @@ </div> </div> +<roundcube:include file="/includes/footer.html" /> + </body> </html> diff --git a/roundcubemail/skins/larry/ui.js b/roundcubemail/skins/larry/ui.js index 8038aa78e..bf0fe8af0 100644 --- a/roundcubemail/skins/larry/ui.js +++ b/roundcubemail/skins/larry/ui.js @@ -133,7 +133,23 @@ function rcube_mail_ui() new rcube_splitter({ id:'addressviewsplitter', p1:'#addresslist', p2:'#contacts-box', orientation:'v', relative:true, start:296, min:220, size:12 }).init(); } - + } + else if (rcmail.env.task == 'login') { + if (bw.ie && bw.ver < 9) { + var popup = $('<div>') + .addClass('readtext') + .html("Roundcube will not work well with the crappy browser ya' using. Get yourself a new internet browsing software and don't come back without!<p>Sincerly,<br/>the Roundcube Dev Team</p>") + .appendTo(document.body) + .dialog({ + dialogClass: 'alert', + closeOnEscape: true, + title: "No way, are you serious?", + close: function() { + popup.dialog('destroy').remove(); + }, + width: 450 + }); + } } // turn a group of fieldsets into tabs @@ -770,7 +786,7 @@ function rcube_splitter(p) this.handle.css('top', Math.round(this.pos - this.halfsize + this.offset)+'px'); if (bw.ie) { var new_height = parseInt(this.p2.parent().outerHeight(), 10) - parseInt(this.p2.css('top'), 10) - (bw.ie8 ? 2 : 0); - this.p2.css('height') = (new_height > 0 ? new_height : 0) + 'px'; + this.p2.css('height', (new_height > 0 ? new_height : 0) + 'px'); } } else { |
