Система темизации
Функции, которые выводят код HTML, и которые могут быть переопределены в темах пользователя.
Все функции, которые выводят код HTML, должны быть «темизированы». Это означает, что в их названии должен быть префикс 'theme_', и они должны вызываться функцией theme(), а не напрямую. Это позволяет темам переопределять вывод любого объекта Drupal.
Система тем описана и определена в файле theme.inc.
Функции
| Имя | Описание |
|---|---|
| phptemplate_menu_local_tasks themes/garland/template.php | Returns the rendered local tasks. The default implementation renders them as tabs. |
| theme_aggregator_block_item modules/aggregator/aggregator.module | Format an individual feed item for display in the block. |
| theme_aggregator_feed modules/aggregator/aggregator.module | Format a news feed. |
| theme_aggregator_page_item modules/aggregator/aggregator.module | Format an individual feed item for display on the aggregator page. |
| theme_aggregator_summary_item modules/aggregator/aggregator.module | Return a themed item heading for summary pages located at 'aggregator/sources' and 'aggregator/categories'. |
| theme_block includes/theme.inc | Return a themed block. |
| theme_blocks includes/theme.inc | Возвращает набор блоков, доступных для текущего пользователя. |
| theme_book_export_html modules/book/book.module | How the book's HTML export should be themed |
| theme_book_navigation modules/book/book.module | Prepares the links to children (TOC) and forward/backward navigation for a node presented as a book page. |
| theme_box includes/theme.inc | Возвращает темизированный бокс(область, контейнер). |
| theme_breadcrumb includes/theme.inc | Возвращает темизированные хлебные крошки. |
| theme_closure includes/theme.inc | Выполняет hook_footer() который выполняется в конце страницы и расположен после тега, закрывающего тело документа. |
| theme_comment_block modules/comment/comment.module | Returns a formatted list of recent comments to be displayed in the comment block. |
| theme_feed_icon includes/theme.inc | Возвращает код, который выдает иконку новостной ленты. |
| theme_filter_tips modules/filter/filter.module | Format a set of filter tips. |
| theme_forum_display modules/forum/forum.module | Format the forum body. |
| theme_forum_icon modules/forum/forum.module | Format the icon for each individual topic. |
| theme_forum_list modules/forum/forum.module | Format the forum listing. |
| theme_forum_topic_list modules/forum/forum.module | Format the topic listing. |
| theme_forum_topic_navigation modules/forum/forum.module | Format the next/previous forum topic navigation links. |
| theme_help includes/theme.inc | Возвращает темизированное сообщение справки. |
| theme_image includes/theme.inc | Возвращает темизированную картинку. |
| theme_item_list includes/theme.inc | Возвращает темизированный список. |
| theme_links includes/theme.inc | Возвращает темизированный набор ссылок. |
| theme_mark includes/theme.inc | Возвращает темизированный маркер, полезный для маркировки нового или обновленного содержимого. |
| theme_menu_item includes/menu.inc | Generate the HTML output for a single menu item. |
| theme_menu_item_link includes/menu.inc | Генерирует HTML, представляющий заданный ID пункта меню. |
| theme_menu_links includes/menu.inc | Returns the themed HTML for primary and secondary links. Note that this function is overridden by most core themes because those themes display links in 'link | link' format, not from a list. Also note that by default links rendered with... |
| theme_menu_local_task includes/menu.inc | Generate the HTML representing a given menu item ID as a tab. |
| theme_menu_local_tasks includes/menu.inc | Returns the rendered local tasks. The default implementation renders them as tabs. |
| theme_menu_tree includes/menu.inc | Генерирует HTML-код, выводимый для дерева меню. |
| theme_more_help_link includes/theme.inc | Returns code that emits the 'more help'-link. |
| theme_node includes/theme.inc | Возвращает темизированную ноду. |
| theme_page includes/theme.inc | Return an entire Drupal page displaying the supplied content. |
| theme_pager includes/pager.inc | Темизирует "листалку" страниц. |
| theme_pager_first includes/pager.inc | Форматирует ссылку "первая страница". |
| theme_pager_last includes/pager.inc | Форматирует ссылку "последняя страница". |
| theme_pager_list includes/pager.inc | Format a list of nearby pages with additional query results. |
| theme_pager_next includes/pager.inc | Форматирует ссылку "следующая страница". |
| theme_pager_previous includes/pager.inc | Форматирует ссылку "предыдущая страница". |
| theme_placeholder includes/theme.inc | Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t(). |
| theme_search_item modules/search/search.module | Format a single result entry of a search query. This function is normally called by theme_search_page() or hook_search_page(). |
| theme_search_page modules/search/search.module | Format the result page of a search query. |
| theme_status_messages includes/theme.inc | Return a themed set of status and/or error messages. The messages are grouped by type. |
| theme_submenu includes/theme.inc | Возвращает темизированное подменю, обычно отображается под вкладками. |
| theme_table includes/theme.inc | Возвращает темизированную таблицу. |
| theme_tablesort_indicator includes/theme.inc | Return a themed sort icon. |
| theme_table_select_header_cell includes/theme.inc | Returns a header cell for tables that have a select all functionality. |
| theme_username includes/theme.inc | Форматирует имя пользователя. |
| theme_user_list modules/user/user.module | Темизирует список пользователей. |
| theme_user_profile modules/user/user.module | Theme a user page |
| theme_xml_icon includes/theme.inc | Возвращает код, который отображает иконку XML. |
