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:
Janos SUTO 2021-02-07 15:15:21 +01:00
parent 5aa8d62701
commit fd2bcf4845
2 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@ class ModelSearchMessage extends Model {
if($html == 0) { if($html == 0) {
while(list($k, $v) = each($terms)) { 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; return $s;
@ -246,7 +246,7 @@ class ModelSearchMessage extends Model {
reset($terms); reset($terms);
while(list($k, $v) = each($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; $s .= $str;

View File

@ -1660,7 +1660,7 @@ html,body{height:auto !important;height:100%;min-height:100%;}
#notesbox{position:absolute;top:8px;right:8px;} #notesbox{position:absolute;top:8px;right:8px;}
#folderbox{position:absolute;top:8px;right:380px;} #folderbox{position:absolute;top:8px;right:380px;}
#sspinner{display:none;} #sspinner{display:none;}
.message_highlight{background:lightblue;} .mssghglght{background:lightblue;}
#searchcontainer{text-align:center;min-width:320px;} #searchcontainer{text-align:center;min-width:320px;}
#searchcontainer label{display:none;height:0;} #searchcontainer label{display:none;height:0;}
#searchcontainer input{height:26px;width:100%;} #searchcontainer input{height:26px;width:100%;}