diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-04-24 16:22:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-04-24 16:22:30 +0000 |
commit | 79a5700c57e8ed86b4aab66022a448df978d2e3f (patch) | |
tree | 4d03df211eff9c97349193e557656baf2b3b596a | |
parent | 4650917cb1bd3e16938bea2232b93bd7e50f3de5 (diff) | |
download | brdo-79a5700c57e8ed86b4aab66022a448df978d2e3f.tar.gz brdo-79a5700c57e8ed86b4aab66022a448df978d2e3f.tar.bz2 |
- Usability improvement: made the markers easier to understand.
-rw-r--r-- | includes/theme.inc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index c9591713a..16c378dc5 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>'; + } } } |