You are here

function theme_placeholder in Drupal 6

Same name and namespace in other branches
  1. 4 includes/theme.inc \theme_placeholder()
  2. 5 includes/theme.inc \theme_placeholder()

Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t().

Parameters

$text: The text to format (plain-text).

Return value

The formatted text (html).

Related topics

6 theme calls to theme_placeholder()
node_revision_overview in modules/node/node.pages.inc
Generate an overview table of older revisions of a node.
node_type_form in modules/node/content_types.inc
Generates the node type editing form.
profile_browse in modules/profile/profile.pages.inc
Menu callback; display a list of user information.
t in includes/common.inc
Translate strings to the page language or a given language.
theme_update_report in modules/update/update.report.inc
Theme project status report.

... See full list

File

includes/theme.inc, line 1160
The theme system, which controls the output of Drupal.

Code

function theme_placeholder($text) {
  return '<em>' . check_plain($text) . '</em>';
}