theme.inc

Version 1.228.2.8 (checked in on 2005/08/17 at 20:03:28 by dries)

The theme system, which controls the output of Drupal.

The theme system allows for nearly all output of the Drupal system to be customized by user themes.

See also

<a href="http://drupal.org/node/253">Theme system</a>

@see themeable

Constants

NameDescription
MARK_NEW
MARK_READ@name Content markers
MARK_UPDATED

Functions

NameDescription
init_themeInitialize the theme system by loading the theme.
list_themesProvides a list of currently available themes.
list_theme_enginesProvides a list of currently available theme engines
path_to_themeReturn the path to the currently selected theme.
themeGenerate the themed representation of a Drupal object.
theme_add_styleAdd a theme stylesheet to be included later. This is handled separately from drupal_set_html_head() to enforce the correct CSS cascading order.
theme_blockReturn a themed block.
theme_blocksReturn a set of blocks available for the current user.
theme_boxReturn a themed box.
theme_breadcrumbReturn a themed breadcrumb trail.
theme_closureExecute hook_footer() which is run at the end of the page right before the close of the body tag.
theme_confirmOutput a confirmation form
theme_errorReturn a themed error message. REMOVE: this function is deprecated an no longer used in core.
theme_form_elementReturn a themed form element.
theme_get_settingRetrieve a setting for the current theme. This function is designed for use from within themes & engines to determine theme settings made in the admin interface.
theme_get_settingsRetrieve an associative array containing the settings for a theme.
theme_get_stylesReturn the HTML for a theme's stylesheets.
theme_helpHook Help - returns theme specific help and information.
theme_imageReturn a themed image.
theme_item_listReturn a themed list of items.
theme_linksReturn a themed set of links.
theme_markReturn a themed marker, useful for marking new or updated content.
theme_more_help_link
theme_nodeReturn a themed node.
theme_onload_attributeCall hook_onload() in all modules to enable modules to insert JavaScript that will get run once the page has been loaded by the browser.
theme_pageReturn an entire Drupal page displaying the supplied content.
theme_placeholderFormat a dynamic text string for emphasised display in a placeholder.
theme_status_messagesReturns themed set of status and/or error messages. The messages are grouped by type.
theme_stylesheet_importImport a stylesheet using @import.
theme_submenuReturn a themed submenu, typically displayed under the tabs.
theme_tableReturn a themed table.
theme_xml_iconReturn code that emits an XML icon.
_theme_table_cell
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.