| 5 theme.inc | theme_mark($type = MARK_NEW) |
| 6 theme.inc | theme_mark( |
| 7 theme.inc | theme_mark($variables) |
| 8 theme.inc | theme_mark($variables) |
Return a themed marker, useful for marking new or updated content.
Parameters
$type: Number representing the marker type to display
Return value
A string containing the marker.
See also
MARK_NEW, MARK_UPDATED, MARK_READ
Related topics
5 theme calls to theme_mark()
File
- includes/
theme.inc, line 739 - The theme system, which controls the output of Drupal.
Code
function theme_mark($type = MARK_NEW) {
global $user;
if ($user->uid && $type != MARK_READ) {
return '<span class="marker">*</span>';
}
}
Login or register to post comments