mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 09:00:13 +01:00
Renamed message_highlight css field to mssghglght because some it interfered with some words
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
5aa8d62701
commit
fd2bcf4845
@ -224,7 +224,7 @@ class ModelSearchMessage extends Model {
|
||||
|
||||
if($html == 0) {
|
||||
while(list($k, $v) = each($terms)) {
|
||||
$s = preg_replace("/$v/i", "<span class=\"message_highlight\">$v</span>", $s);
|
||||
$s = preg_replace("/$v/i", "<span class=\"mssghglght\">$v</span>", $s);
|
||||
}
|
||||
|
||||
return $s;
|
||||
@ -246,7 +246,7 @@ class ModelSearchMessage extends Model {
|
||||
|
||||
reset($terms);
|
||||
while(list($k, $v) = each($terms)) {
|
||||
$str = preg_replace("/$v/i", "<span class=\"message_highlight\">$v</span>", $str);
|
||||
$str = preg_replace("/$v/i", "<span class=\"mssghglght\">$v</span>", $str);
|
||||
}
|
||||
|
||||
$s .= $str;
|
||||
|
@ -1660,7 +1660,7 @@ html,body{height:auto !important;height:100%;min-height:100%;}
|
||||
#notesbox{position:absolute;top:8px;right:8px;}
|
||||
#folderbox{position:absolute;top:8px;right:380px;}
|
||||
#sspinner{display:none;}
|
||||
.message_highlight{background:lightblue;}
|
||||
.mssghglght{background:lightblue;}
|
||||
#searchcontainer{text-align:center;min-width:320px;}
|
||||
#searchcontainer label{display:none;height:0;}
|
||||
#searchcontainer input{height:26px;width:100%;}
|
||||
|
Loading…
Reference in New Issue
Block a user