theme_mark($type = MARK_NEW)theme_mark($variables)Return a themed marker, useful for marking new or updated content.
$variables An associative array containing:
A string containing the marker.
7/includes/theme.inc, line 1771
<?php
function theme_mark($variables) {
$type = $variables['type'];
global $user;
if ($user->uid) {
if ($type == MARK_NEW) {
return ' <span class="marker">' . t('new') . '</span>';
}
elseif ($type == MARK_UPDATED) {
return ' <span class="marker">' . t('updated') . '</span>';
}
}
}
?>