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).

Связанные темы

▾ 8 функции вызывают theme_placeholder()

db_connect in includes/database.mysql.inc
Инициализирует соединение с базой данных.
db_set_active in includes/database.inc
Активирует базу данных для последующих запросов.
node_node_type in modules/node/content_types.inc
Implementation of hook_node_type().
node_revision_overview in modules/node/node.module
Generate an overview table of older revisions of a node.
node_type_delete_confirm in modules/node/content_types.inc
Menu callback; delete a single content type.
node_type_form in modules/node/content_types.inc
Generates the node type editing form.
profile_browse in modules/profile/profile.module
Menu callback; display a list of user information.
t in includes/common.inc
Переводит строку на заданный язык или язык страницы.

Код

<?php
function theme_placeholder($text) {
  return '<em>'. check_plain($text) .'</em>';
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему