Changeset 1850 in subversion
- Timestamp:
- Sep 19, 2008 1:01:57 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 5 edited
-
program/include/html.php (modified) (1 diff)
-
program/include/rcube_browser.php (modified) (1 diff)
-
program/include/rcube_template.php (modified) (4 diffs)
-
skins/default/mail.css (modified) (1 diff)
-
skins/default/watermark.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/html.php
r1806 r1850 249 249 protected $tagname = 'input'; 250 250 protected $type = 'text'; 251 protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly','spellcheck' );251 protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly','spellcheck','results'); 252 252 253 253 public function __construct($attrib = array()) -
trunk/roundcubemail/program/include/rcube_browser.php
r1673 r1850 44 44 $this->ie = stristr($HTTP_USER_AGENT, 'compatible; msie') && !$this->opera; 45 45 $this->mz = stristr($HTTP_USER_AGENT, 'mozilla/5'); 46 $this->safari = stristr($HTTP_USER_AGENT, 'safari'); 46 $this->khtml = stristr($HTTP_USER_AGENT, 'khtml'); 47 $this->safari = ($this->khtml || stristr($HTTP_USER_AGENT, 'safari')); 47 48 48 49 if ($this->ns) { -
trunk/roundcubemail/program/include/rcube_template.php
r1846 r1850 55 55 $this->app = rcmail::get_instance(); 56 56 $this->config = $this->app->config->all(); 57 $this->browser = new rcube_browser(); 57 58 58 59 //$this->framed = $framed; … … 708 709 } 709 710 710 $browser = new rcube_browser();711 712 711 // try to find out the button type 713 712 if ($attrib['type']) { … … 756 755 } 757 756 // set title to alt attribute for IE browsers 758 if ($ browser->ie && $attrib['title'] && !$attrib['alt']) {757 if ($this->browser->ie && $attrib['title'] && !$attrib['alt']) { 759 758 $attrib['alt'] = $attrib['title']; 760 759 unset($attrib['title']); … … 1019 1018 $attrib['id'] = 'rcmqsearchbox'; 1020 1019 } 1020 if ($attrib['type'] == 'search' && !$this->browser->khtml) { 1021 unset($attrib['type'], $attrib['results']); 1022 } 1023 1021 1024 $input_q = new html_inputfield($attrib); 1022 1025 $out = $input_q->show(); -
trunk/roundcubemail/skins/default/mail.css
r1832 r1850 756 756 { 757 757 position:relative; 758 min-height: 300px;759 758 padding-bottom: 10px; 760 759 background-color: #FFFFFF; -
trunk/roundcubemail/skins/default/watermark.html
r3 r1850 2 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 3 <head> 4 <title></title> 4 5 </head> 5 6 <body style="background-color:#F2F2F2;">
Note: See TracChangeset
for help on using the changeset viewer.
