Changeset e154154 in github
- Timestamp:
- Jun 28, 2012 1:39:54 PM (11 months ago)
- 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. - Files:
-
- 8 edited
-
skins/larry/iehacks.css (modified) (1 diff)
-
skins/larry/mail.css (modified) (2 diffs)
-
skins/larry/svggradient.php (modified) (2 diffs)
-
skins/larry/svggradients.css (modified) (1 diff)
-
skins/larry/templates/messagepreview.html (modified) (1 diff)
-
program/include/rcube_browser.php (modified) (1 diff)
-
program/js/common.js (modified) (1 diff)
-
program/steps/utils/error.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skins/larry/iehacks.css
r1257a8e6 rbe72a0f9 144 144 } 145 145 146 #previewheaderstoggle { 147 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfbfb', endColorstr='#e9e9e9', GradientType=1); 148 } 149 146 150 #composeoptionsbox { 147 151 border-top: 1px solid #999; -
skins/larry/mail.css
r7dad594 rbe72a0f9 716 716 } 717 717 718 #preview-allheaders td.header-title, 718 719 #preview-shortheaders td.header-title { 719 padding- right: 0;720 padding-left: 0; 720 721 } 721 722 722 723 #preview-shortheaders td.header { 723 padding-right: 1 2px;724 padding-right: 18px; 724 725 } 725 726 726 727 #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; 741 759 } 742 760 … … 775 793 776 794 #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; 779 799 border-bottom: 2px solid #f0f0f0; 780 800 } 781 801 782 #messagepreviewheader .headers-table {783 margin-left: 8px;784 }785 786 802 #messagepreviewheader h3.subject { 787 padding -left:0;803 padding: 8px 8px 2px 0; 788 804 } 789 805 -
skins/larry/svggradient.php
r041c93c rbe72a0f9 19 19 $svg_stops = ''; 20 20 $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%"'; 21 22 $last = count($color_stops) - 1; 22 23 foreach ($color_stops as $i => $stop) { … … 33 34 <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" version="1.0" width="100%" height="100%"> 34 35 <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"> 36 37 <?php echo $svg_stops; ?> 37 38 </linearGradient> -
skins/larry/svggradients.css
r1257a8e6 rbe72a0f9 138 138 } 139 139 140 #previewheaderstoggle { 141 background-image: url(svggradient.php?c=fbfbfb;e9e9e9&h=1); 142 } 143 140 144 141 145 /*** jqueryui theme ***/ -
skins/larry/templates/messagepreview.html
r6357223 rbe72a0f9 10 10 <h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> 11 11 12 <a href="#details" id="previewheaderstoggle" class="iconlink add"></a>12 <a href="#details" id="previewheaderstoggle"><span class="iconlink"></span></a> 13 13 14 14 <table class="headers-table" id="preview-shortheaders"><tbody><tr> -
program/include/rcube_browser.php
r041c93c r2698d7f 43 43 $this->ns = ($this->ns4 || strpos($HTTP_USER_AGENT, 'netscape') !== false); 44 44 $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; 46 47 $this->chrome = strpos($HTTP_USER_AGENT, 'chrome') !== false; 47 $this->khtml = strpos($HTTP_USER_AGENT, 'khtml') !== false;48 48 $this->safari = !$this->chrome && ($this->khtml || strpos($HTTP_USER_AGENT, 'safari') !== false); 49 49 -
program/js/common.js
r4188c61 r2698d7f 61 61 this.chrome = (this.agent_lc.indexOf('chrome') > 0); 62 62 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); 65 65 this.iphone = (this.safari && this.agent_lc.indexOf('iphone') > 0); 66 66 this.ipad = (this.safari && this.agent_lc.indexOf('ipad') > 0); -
program/steps/utils/error.inc
r041c93c rb97d0e1 24 24 // browser is not compatible with this application 25 25 if ($ERROR_CODE==409) { 26 $user_agent = $ GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT'];26 $user_agent = $_SERVER['HTTP_USER_AGENT']; 27 27 $__error_title = 'Your browser does not suit the requirements for this application'; 28 28 $__error_text = <<<EOF
Note: See TracChangeset
for help on using the changeset viewer.
