Definition

theme_mark($type = MARK_NEW)
drupal/includes/theme.inc, line 739

Description

Return a themed marker, useful for marking new or updated content.

@see MARK_NEW, MARK_UPDATED, MARK_READ

Parameters

$type Number representing the marker type to display

Return value

A string containing the marker.

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function theme_mark($type = MARK_NEW) {
  global $user;
  if ($user->uid && $type != MARK_READ) {
    return '<span class="marker">*</span>';
  }
}