diff --git a/webui/index.php b/webui/index.php index f608529..1d2a0c5 100644 --- a/webui/index.php +++ b/webui/index.php @@ -15,7 +15,6 @@ require(DIR_SYSTEM . "/startup.php"); - $request = new Request(); Registry::set("request", $request); diff --git a/webui/model/search/search.php b/webui/model/search/search.php index 9cabb82..4a7619e 100644 --- a/webui/model/search/search.php +++ b/webui/model/search/search.php @@ -513,6 +513,8 @@ $m['date'] = date(SEARCH_HIT_DATE_FORMAT, $m['sent']); $m['size'] = nice_size($m['size']); + in_array($m['from'], $_SESSION['emails']) ? $m['yousent'] = 1 : $m['yousent'] = 0; + /* * verifying 20 messages takes some time, still it's useful */ diff --git a/webui/view/theme/orig/stylesheet/style-orig.css b/webui/view/theme/orig/stylesheet/style-orig.css index 5541121..154e257 100644 --- a/webui/view/theme/orig/stylesheet/style-orig.css +++ b/webui/view/theme/orig/stylesheet/style-orig.css @@ -73,6 +73,7 @@ .resultrow.new a.spam { color: #aaa; } .resultrow.selected { border: 2px solid black; } .resultrow.spam { color: #aaa; } + .resultrow.sent { background: lightblue; } .tcell { display: table-cell; } diff --git a/webui/view/theme/orig/templates/search/helper.tpl b/webui/view/theme/orig/templates/search/helper.tpl index ca7213a..4afd9a1 100644 --- a/webui/view/theme/orig/templates/search/helper.tpl +++ b/webui/view/theme/orig/templates/search/helper.tpl @@ -4,7 +4,7 @@