theme_placeholder
includes/theme.inc, строка 380
- Версии
- 5 – 6
theme_placeholder($text)
Formats text for emphasized display in a placeholder inside a sentence.
Used automatically by t()
.
Параметры
$text
The text to format (plain-text).
Возвращаемое значение
The formatted text (html).
Связанные темы
Код
<?php
function theme_placeholder($text) {
return '<em>'. check_plain($text) .'</em>';
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии