Thomas Bruederli
2012-12-29 d9f180adf9e1e8a63ea9bfdb534dc376a4829fee
Minor IE7/8 fixes
4 files modified
15 ■■■■■ changed files
program/steps/mail/get.inc 7 ●●●●● patch | view | raw | blame | history
skins/larry/ie7hacks.css 4 ●●●● patch | view | raw | blame | history
skins/larry/mail.css 2 ●●●●● patch | view | raw | blame | history
skins/larry/templates/messagepart.html 2 ●●● patch | view | raw | blame | history
program/steps/mail/get.inc
@@ -160,10 +160,9 @@
              'vars' => array('expected' => "$mimetype (.$file_extension)", 'detected' => "$real_mimetype (.$extensions[0])")
            )) .
            html::p('buttons',
              html::a(array(
                'href' => $RCMAIL->url(array_merge($_GET, array('_nocheck' => 1))),
                'style' => 'text-decoration:none;color:#000',
              ), html::tag('button', null, rcube_label('showanyway'))))
              html::tag('button',
                array('onclick' => "location.href='" . $RCMAIL->url(array_merge($_GET, array('_nocheck' => 1))) . "'"),
                rcube_label('showanyway')))
            )
        )));
        exit;
skins/larry/ie7hacks.css
@@ -25,6 +25,10 @@
  height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
}
#messagepartframe {
    height: expression((parseInt(this.parentNode.offsetHeight)-1)+'px');
}
input.button {
    display: inline;
    font-size: 90%;
skins/larry/mail.css
@@ -1126,6 +1126,8 @@
#messagepartframe {
    border: 0;
    width: 100%;
    height: 100%;
}
/*** message composition ***/
skins/larry/templates/messagepart.html
@@ -27,7 +27,7 @@
</div>
<div id="messagepartcontainer" class="uibox">
<roundcube:object name="messagePartFrame" id="messagepartframe" style="width:100%; height:100%" />
<roundcube:object name="messagePartFrame" id="messagepartframe" frameborder="0" />
</div>
</div>