From 79a5700c57e8ed86b4aab66022a448df978d2e3f Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 24 Apr 2005 16:22:30 +0000 Subject: [PATCH] - Usability improvement: made the markers easier to understand. --- includes/theme.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index c9591713a169..16c378dc5230 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -739,8 +739,13 @@ function theme_block($block) { */ function theme_mark($type = MARK_NEW) { global $user; - if ($user->uid && $type != MARK_READ) { - return '<span class="marker">*</span>'; + if ($user->uid) { + if ($type == MARK_NEW) { + return '<span class="marker">'. t('new') .'</span>'; + } + else if ($type == MARK_UPDATED) { + return '<span class="marker">'. t('updated') .'</span>'; + } } } -- GitLab