summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-24 16:22:30 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-24 16:22:30 +0000
commit79a5700c57e8ed86b4aab66022a448df978d2e3f (patch)
tree4d03df211eff9c97349193e557656baf2b3b596a
parent4650917cb1bd3e16938bea2232b93bd7e50f3de5 (diff)
downloadbrdo-79a5700c57e8ed86b4aab66022a448df978d2e3f.tar.gz
brdo-79a5700c57e8ed86b4aab66022a448df978d2e3f.tar.bz2
- Usability improvement: made the markers easier to understand.
-rw-r--r--includes/theme.inc9
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>';
+ }
}
}