function theme_placeholder
6.x theme.inc | theme_placeholder($text) |
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 drupal-6.x/
modules/ node/ node.pages.inc - Generate an overview table of older revisions of a node.
- node_type_form in drupal-6.x/
modules/ node/ content_types.inc - Generates the node type editing form.
- profile_browse in drupal-6.x/
modules/ profile/ profile.pages.inc - Menu callback; display a list of user information.
- t in drupal-6.x/
includes/ common.inc - Translate strings to the page language or a given language.
- theme_update_report in drupal-6.x/
modules/ update/ update.report.inc - Theme project status report.
File
- drupal-6.x/
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>';
}