function theme_placeholder in Drupal 4
Same name and namespace in other branches
- 5 includes/theme.inc \theme_placeholder()
- 6 includes/theme.inc \theme_placeholder()
Format a dynamic text string for emphasized display in a placeholder.
E.g. t('Added term %term', array('%term' => theme('placeholder', $term)))
Parameters
$text: The text to format (plain-text).
Return value
The formatted text (html).
Related topics
112 theme calls to theme_placeholder()
- aggregator_admin_remove_feed in modules/
aggregator.module - aggregator_block in modules/
aggregator.module - Implementation of hook_block().
- aggregator_form_category_submit in modules/
aggregator.module - Process aggregator_form_category form submissions. @todo Add delete confirmation dialog.
- aggregator_form_category_validate in modules/
aggregator.module - Validate aggregator_form_feed form submissions.
- aggregator_form_feed_submit in modules/
aggregator.module - Process aggregator_form_feed form submissions. @todo Add delete confirmation dialog.
File
- includes/
theme.inc, line 376 - The theme system, which controls the output of Drupal.
Code
function theme_placeholder($text) {
return '<em>' . check_plain($text) . '</em>';
}