thomascube
2006-05-01 326e87a5d66f0e9a2cd5f34a6e27cd056b9746ad
Pimped search function


5 files modified
1 files added
32 ■■■■ changed files
CHANGELOG 3 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap.inc 4 ●●●● patch | view | raw | blame | history
skins/default/images/icons/reset.gif patch | view | raw | blame | history
skins/default/images/searchfield.gif patch | view | raw | blame | history
skins/default/mail.css 23 ●●●● patch | view | raw | blame | history
skins/default/templates/mail.html 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -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
program/include/rcube_imap.inc
@@ -55,7 +55,7 @@
  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 @@
    $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
skins/default/images/icons/reset.gif

skins/default/images/searchfield.gif
skins/default/mail.css
@@ -468,15 +468,18 @@
  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 @@
#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;
skins/default/templates/mail.html
@@ -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">