Changeset e154154 in github


Ignore:
Timestamp:
Jun 28, 2012 1:39:54 PM (11 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
3d122f0
Parents:
2698d7f (diff), be72a0f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of github.com:roundcube/roundcubemail

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • skins/larry/iehacks.css

    r1257a8e6 rbe72a0f9  
    144144} 
    145145 
     146#previewheaderstoggle { 
     147        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfbfb', endColorstr='#e9e9e9', GradientType=1); 
     148} 
     149 
    146150#composeoptionsbox { 
    147151        border-top: 1px solid #999; 
  • skins/larry/mail.css

    r7dad594 rbe72a0f9  
    716716} 
    717717 
     718#preview-allheaders td.header-title, 
    718719#preview-shortheaders td.header-title { 
    719         padding-right: 0; 
     720        padding-left: 0; 
    720721} 
    721722 
    722723#preview-shortheaders td.header { 
    723         padding-right: 12px; 
     724        padding-right: 18px; 
    724725} 
    725726 
    726727#previewheaderstoggle { 
    727     width: 16px; 
    728     height: 16px; 
    729     padding: 0; 
    730     margin-top: 5px; 
    731     position: absolute; 
    732     outline: none; 
    733 } 
    734  
    735 #previewheaderstoggle.iconlink.add { 
    736         background-position: -32px -227px; 
    737 } 
    738  
    739 #previewheaderstoggle.iconlink.remove { 
    740         background-position: -32px -242px; 
     728        display: block; 
     729        position: absolute; 
     730        top: 0; 
     731        left: 0; 
     732        bottom: 0; 
     733        width: 18px; 
     734        padding: 0; 
     735        outline: none; 
     736        background: #f2f2f2; 
     737        background: -moz-linear-gradient(left, #fbfbfb 0, #e9e9e9 100%); 
     738        background: -webkit-gradient(linear, left top, right top, color-stop(0,#fbfbfb), color-stop(100%,#e9e9e9)); 
     739        background: -o-linear-gradient(left, #fbfbfb 0, #e9e9e9 100%); 
     740        background: -ms-linear-gradient(left, #fbfbfb 0, #e9e9e9 100%); 
     741        background: linear-gradient(left, #fbfbfb 0, #e9e9e9 100%); 
     742        border-right: 1px solid #dfdfdf; 
     743} 
     744 
     745#previewheaderstoggle .iconlink { 
     746        display: inline-block; 
     747        position: absolute; 
     748        top: 8px; 
     749        left: 0; 
     750        width: 18px; 
     751        height: 16px; 
     752        background: url(images/buttons.png) -27px -242px no-repeat; 
     753} 
     754 
     755#previewheaderstoggle.remove .iconlink { 
     756        top: auto; 
     757        bottom: 5px; 
     758        background-position: -5px -242px; 
    741759} 
    742760 
     
    775793 
    776794#messagepreviewheader { 
    777         margin: 0 8px; 
    778         padding-bottom: 8px; 
     795        position: relative; 
     796        height: auto; 
     797        margin: 0 8px 0 0; 
     798        padding: 0 0 6px 26px; 
    779799        border-bottom: 2px solid #f0f0f0; 
    780800} 
    781801 
    782 #messagepreviewheader .headers-table { 
    783         margin-left: 8px; 
    784 } 
    785  
    786802#messagepreviewheader h3.subject { 
    787         padding-left: 0; 
     803        padding: 8px 8px 2px 0; 
    788804} 
    789805 
  • skins/larry/svggradient.php

    r041c93c rbe72a0f9  
    1919$svg_stops = ''; 
    2020$color_stops = explode(';', preg_replace('/[^a-f0-9,;%]/i', '', $_GET['c'])); 
     21$gradient_coords = !empty($_GET['h']) ? 'x1="0%" y1="0%" x2="100%" y2="0%"' : 'x1="0%" y1="0%" x2="0%" y2="100%"'; 
    2122$last = count($color_stops) - 1; 
    2223foreach ($color_stops as $i => $stop) { 
     
    3334<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" version="1.0" width="100%" height="100%"> 
    3435<defs> 
    35   <linearGradient id="LG1" x1="0%" y1="0%" x2="0%" y2="100%" spreadMethod="pad"> 
     36  <linearGradient id="LG1" <?php echo $gradient_coords; ?> spreadMethod="pad"> 
    3637    <?php echo $svg_stops; ?> 
    3738  </linearGradient> 
  • skins/larry/svggradients.css

    r1257a8e6 rbe72a0f9  
    138138} 
    139139 
     140#previewheaderstoggle { 
     141        background-image: url(svggradient.php?c=fbfbfb;e9e9e9&h=1); 
     142} 
     143 
    140144 
    141145/*** jqueryui theme ***/ 
  • skins/larry/templates/messagepreview.html

    r6357223 rbe72a0f9  
    1010<h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> 
    1111 
    12 <a href="#details" id="previewheaderstoggle" class="iconlink add"></a> 
     12<a href="#details" id="previewheaderstoggle"><span class="iconlink"></span></a> 
    1313 
    1414<table class="headers-table" id="preview-shortheaders"><tbody><tr> 
  • program/include/rcube_browser.php

    r041c93c r2698d7f  
    4343        $this->ns  = ($this->ns4 || strpos($HTTP_USER_AGENT, 'netscape') !== false); 
    4444        $this->ie  = !$this->opera && strpos($HTTP_USER_AGENT, 'compatible; msie') !== false; 
    45         $this->mz  = !$this->ie && strpos($HTTP_USER_AGENT, 'mozilla/5') !== false; 
     45        $this->khtml = strpos($HTTP_USER_AGENT, 'khtml') !== false; 
     46        $this->mz  = !$this->ie && !$this->khtml && strpos($HTTP_USER_AGENT, 'mozilla/5') !== false; 
    4647        $this->chrome = strpos($HTTP_USER_AGENT, 'chrome') !== false; 
    47         $this->khtml = strpos($HTTP_USER_AGENT, 'khtml') !== false; 
    4848        $this->safari = !$this->chrome && ($this->khtml || strpos($HTTP_USER_AGENT, 'safari') !== false); 
    4949 
  • program/js/common.js

    r4188c61 r2698d7f  
    6161  this.chrome = (this.agent_lc.indexOf('chrome') > 0); 
    6262  this.safari = (!this.chrome && (this.agent_lc.indexOf('safari') > 0 || this.agent_lc.indexOf('applewebkit') > 0)); 
    63   this.mz = (this.dom && !this.ie && !this.ns && !this.chrome && !this.safari && this.agent.indexOf('Mozilla') >= 0); 
    64   this.konq   = (this.agent_lc.indexOf('konqueror') > 0); 
     63  this.konq = (this.agent_lc.indexOf('konqueror') > 0); 
     64  this.mz = (this.dom && !this.ie && !this.ns && !this.chrome && !this.safari && !this.konq && this.agent.indexOf('Mozilla') >= 0); 
    6565  this.iphone = (this.safari && this.agent_lc.indexOf('iphone') > 0); 
    6666  this.ipad = (this.safari && this.agent_lc.indexOf('ipad') > 0); 
  • program/steps/utils/error.inc

    r041c93c rb97d0e1  
    2424// browser is not compatible with this application 
    2525if ($ERROR_CODE==409) { 
    26   $user_agent = $GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT']; 
     26  $user_agent = $_SERVER['HTTP_USER_AGENT']; 
    2727  $__error_title = 'Your browser does not suit the requirements for this application'; 
    2828  $__error_text = <<<EOF 
Note: See TracChangeset for help on using the changeset viewer.