From fd2bcf4845061a259fbc483e56effd4cac711148 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 7 Feb 2021 15:15:21 +0100 Subject: [PATCH] Renamed message_highlight css field to mssghglght because some it interfered with some words Signed-off-by: Janos SUTO --- webui/model/search/message.php | 4 ++-- webui/view/theme/default/assets/css/metro-bootstrap.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 670f2245..5e67bffa 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -224,7 +224,7 @@ class ModelSearchMessage extends Model { if($html == 0) { while(list($k, $v) = each($terms)) { - $s = preg_replace("/$v/i", "$v", $s); + $s = preg_replace("/$v/i", "$v", $s); } return $s; @@ -246,7 +246,7 @@ class ModelSearchMessage extends Model { reset($terms); while(list($k, $v) = each($terms)) { - $str = preg_replace("/$v/i", "$v", $str); + $str = preg_replace("/$v/i", "$v", $str); } $s .= $str; diff --git a/webui/view/theme/default/assets/css/metro-bootstrap.css b/webui/view/theme/default/assets/css/metro-bootstrap.css index 31d60204..eb86327c 100644 --- a/webui/view/theme/default/assets/css/metro-bootstrap.css +++ b/webui/view/theme/default/assets/css/metro-bootstrap.css @@ -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%;}