You are here

function theme_placeholder in Drupal 5

Same name and namespace in other branches
  1. 4 includes/theme.inc \theme_placeholder()
  2. 6 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

10 theme calls to theme_placeholder()
db_connect in includes/database.mysqli.inc
Initialise a database connection.
db_connect in includes/database.mysql.inc
Initialize a database connection.
db_connect in includes/database.pgsql.inc
Initialize a database connection.
db_set_active in includes/database.inc
Activate a database for future queries.
node_node_type in modules/node/content_types.inc
Implementation of hook_node_type().

... See full list

File

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

Code

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