theme_placeholder
Definition
theme_placeholder($text)
includes/theme.inc, line 1053
Description
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
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
Code
<?php
function theme_placeholder($text) {
return '<em>'. check_plain($text) .'</em>';
}
?> 