Pimped search function

release-0.6
thomascube 18 years ago
parent 97a915e662
commit 326e87a5d6

@ -1,6 +1,9 @@
CHANGELOG RoundCube Webmail
---------------------------
2006/05/01
----------
- Pimped search function
- Applied prev/next patch by Leonard Bouchet
- Applied patches by Mark Bucciarelli
- Applied patch for requesting receipts by Salvatore Ansani

@ -55,7 +55,7 @@ class rcube_imap
var $default_folders = array('inbox', 'drafts', 'sent', 'junk', 'trash');
var $cache = array();
var $cache_keys = array();
var $cache_changes = array();
var $cache_changes = array();
var $uid_id_map = array();
var $msg_headers = array();
var $capabilities = array();
@ -856,7 +856,7 @@ class rcube_imap
$mailbox = $mbox ? $this->_mod_mailbox($mbox) : $this->mailbox;
if ($str && $criteria)
{
$criteria .= " \"$str\"";
$criteria .= ' CHARSET UTF-8 "'.UTF7EncodeString($str).'"';
return $this->_search_index($mailbox, $criteria);
}
else

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

@ -468,15 +468,18 @@ body.messagelist
position: absolute;
top: 60px;
right: 40px;
width: 200px;
width: 182px;
height: 20px;
text-align: right;
background: url('images/searchfield.gif') top left no-repeat;
}
#quicksearchbar a
{
position: absolute;
top: 3px;
right: 4px;
text-decoration: none;
padding-left: 5px;
}
#quicksearchbar img
@ -486,11 +489,23 @@ body.messagelist
#quicksearchbox
{
width: 150px;
border: 1px solid #999999;
position: absolute;
top: 2px;
left: 20px;
width: 140px;
font-size: 11px;
padding: 0px;
border: none;
}
/*\*/
html>body*#quicksearchbar { background-image: none; }
html>body*#quicksearchbar a { top: 5px; }
html>body*#quicksearchbar #quicksearchbox { width: 180px; top:0px; right: 1px; left: auto; }
/**/
#rcversion
{
position: absolute;

@ -20,7 +20,7 @@
</div>
<div id="quicksearchbar">
<roundcube:object name="searchform" id="quicksearchbox" /><roundcube:button command="reset-search" image="/images/icons/reset.gif" title="resetsearch" />
<roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
</div>
<div id="messagecountbar">

Loading…
Cancel
Save