Default theme implementations


Files

file  theme.inc

Functions

 theme_select ($element)
 theme_fieldset ($element)
 theme_radio ($element)
 theme_radios ($element)
 theme_password_confirm ($element)
 theme_date ($element)
 theme_item ($element)
 theme_checkbox ($element)
 theme_checkboxes ($element)
 theme_submit ($element)
 theme_button ($element)
 theme_image_button ($element)
 theme_hidden ($element)
 theme_token ($element)
 theme_textfield ($element)
 theme_form ($element)
 theme_textarea ($element)
 theme_markup ($element)
 theme_password ($element)
 theme_file ($element)
 theme_form_element ($element, $value)
 theme_locale_languages_overview_form ($form)
 theme_menu_item_link ($link)
 theme_menu_tree ($tree)
 theme_menu_item ($link, $has_children, $menu= '', $in_active_trail=FALSE, $extra_class=NULL)
 theme_menu_local_task ($link, $active=FALSE)
 theme_menu_local_tasks ()
 theme_pager ($tags=array(), $limit=10, $element=0, $parameters=array(), $quantity=9)
 theme_placeholder ($text)
 theme_status_messages ($display=NULL)
 theme_links ($links, $attributes=array('class'=> 'links'))
 theme_image ($path, $alt= '', $title= '', $attributes=NULL, $getsize=TRUE)
 theme_breadcrumb ($breadcrumb)
 theme_help ()
 theme_submenu ($links)
 theme_table ($header, $rows, $attributes=array(), $caption=NULL)
 theme_table_select_header_cell ()
 theme_tablesort_indicator ($style)
 theme_box ($title, $content, $region= 'main')
 theme_mark ($type=MARK_NEW)
 theme_item_list ($items=array(), $title=NULL, $type= 'ul', $attributes=NULL)
 theme_more_help_link ($url)
 theme_xml_icon ($url)
 theme_feed_icon ($url, $title)
 theme_more_link ($url, $title)
 theme_closure ($main=0)
 theme_blocks ($region)
 theme_username ($object)
 theme_progress_bar ($percent, $message)
 theme_indentation ($size=1)
 theme_task_list ($items, $active=NULL)
 acquia_agent_system_modules ($form)
 theme_aggregator_categorize_items ($form)
 theme_aggregator_page_rss ($feeds, $category=NULL)
 theme_aggregator_page_opml ($feeds)
 theme_book_admin_table ($form)
 theme_comment_admin_overview ($form)
 theme_filter_admin_overview ($form)
 theme_filter_admin_order ($form)
 theme_filter_tips ($tips, $long=FALSE, $extra= '')
 theme_menu_overview_form ($form)
 theme_node_filter_form ($form)
 theme_node_filters ($form)
 theme_node_admin_nodes ($form)
 theme_node_add_list ($content)
 theme_node_form ($form)
 theme_node_preview ($node)
 theme_profile_admin_overview ($form)
 theme_admin_block ($block)
 theme_admin_block_content ($content)
 theme_admin_page ($blocks)
 theme_system_admin_by_module ($menu_items)
 theme_status_report (&$requirements)
 theme_system_modules ($form)
 theme_system_modules_uninstall ($form)
 theme_system_theme_select_form ($form)
 theme_system_themes_form ($form)
 theme_taxonomy_overview_vocabularies ($form)
 theme_taxonomy_overview_terms ($form)
 theme_taxonomy_term_page ($tids, $result)
 theme_trigger_display ($element)
 theme_update_report ($data)
 theme_update_version ($version, $tag, $class)
 theme_user_admin_perm ($form)
 theme_user_admin_account ($form)
 theme_user_admin_new_role ($form)
 theme_user_filter_form ($form)
 theme_user_filters ($form)
 theme_uc_quote_method_settings ($form)
 theme_uc_shipping_new_package_fieldset ($fieldset)
 theme_uc_shipping_edit_package_fieldset ($fieldset)
 theme_uc_shipping_new_shipment ($form)
 theme_uc_ups_label_image ()
 theme_uc_ups_option_label ($service)
 theme_uc_attribute_options_form ($form)
 theme_uc_object_attributes_form ($form)
 theme_uc_object_options_form ($form)
 theme_uc_cart_checkout_review ($panes, $form)
 theme_cart_review_table ($show_subtotal=TRUE)
 theme_uc_product_field_settings_form ($form)
 theme_uc_product_feature_add_form ($form)
 theme_summary_overview ($summaries, $link=TRUE)
 theme_tapir_table ($element)
 theme_uc_price_settings_form ($form)
 phptemplate_menu_local_tasks ()
 phptemplate_uc_cart_block_content ($help_text, $items, $item_count, $item_text, $total, $summary_links)
 phptemplate_uc_cart_block_items ($items)
 phptemplate_uc_cart_block_summary ($item_count, $item_text, $total, $summary_links)

Pager pieces

Use these pieces to construct your own custom pagers in your theme. Note that you should NOT modify this file to customize your pager.

 theme_pager_first ($text, $limit, $element=0, $parameters=array())
 theme_pager_previous ($text, $limit, $element=0, $interval=1, $parameters=array())
 theme_pager_next ($text, $limit, $element=0, $interval=1, $parameters=array())
 theme_pager_last ($text, $limit, $element=0, $parameters=array())
 theme_pager_link ($text, $page_new, $element, $parameters=array(), $attributes=array())

Detailed Description

Functions and templates that present output to the user, and can be implemented by themes.

Drupal's presentation layer is a pluggable system known as the theme layer. Each theme can take control over most of Drupal's output, and has complete control over the CSS.

Inside Drupal, the theme layer is utilized by the use of the theme() function, which is passed the name of a component (the theme hook) and several arguments. For example, theme('table', $header, $rows); Additionally, the theme() function can take an array of theme hooks, which can be used to provide 'fallback' implementations to allow for more specific control of output. For example, the function: theme(array('table__foo', 'table'), $header, $rows) would look to see if 'table__foo' is registered anywhere; if it is not, it would 'fall back' to the generic 'table' implementation. This can be used to attach specific theme functions to named objects, allowing the themer more control over specific types of output.

As of Drupal 6, every theme hook is required to be registered by the module that owns it, so that Drupal can tell what to do with it and to make it simple for themes to identify and override the behavior for these calls.

The theme hooks are registered via hook_theme(), which returns an array of arrays with information about the hook. It describes the arguments the function or template will need, and provides defaults for the template in case they are not filled in. If the default implementation is a function, by convention it is named theme_HOOK().

Each module should provide a default implementation for theme_hooks that it registers. This implementation may be either a function or a template; if it is a function it must be specified via hook_theme(). By convention, default implementations of theme hooks are named theme_HOOK. Default template implementations are stored in the module directory.

Drupal's default template renderer is a simple PHP parsing engine that includes the template and stores the output. Drupal's theme engines can provide alternate template engines, such as XTemplate, Smarty and PHPTal. The most common template engine is PHPTemplate (included with Drupal and implemented in phptemplate.engine, which uses Drupal's default template renderer.

In order to create theme-specific implementations of these hooks, themes can implement their own version of theme hooks, either as functions or templates. These implementations will be used instead of the default implementation. If using a pure .theme without an engine, the .theme is required to implement its own version of hook_theme() to tell Drupal what it is implementing; themes utilizing an engine will have their well-named theming functions automatically registered for them. While this can vary based upon the theme engine, the standard set by phptemplate is that theme functions should be named either phptemplate_HOOK or THEMENAME_HOOK. For example, for Drupal's default theme (Garland) to implement the 'table' hook, the phptemplate.engine would find phptemplate_table() or garland_table(). The ENGINE_HOOK() syntax is preferred, as this can be used by sub-themes (which are themes that share code but use different stylesheets).

The theme system is described and defined in theme.inc.

See also:
theme()

hook_theme()


Function Documentation

acquia_agent_system_modules ( form  ) 

Override of the theme callback for the modules form.

Used add extra rows when $form['description][$key]['extra'] is set.

Parameters:
$form An associative array containing the structure of the form.

phptemplate_menu_local_tasks (  ) 

Returns the rendered local tasks. The default implementation renders them as tabs. Overridden to split the secondary tasks.

phptemplate_uc_cart_block_content ( help_text,
items,
item_count,
item_text,
total,
summary_links 
)

Theme the shopping cart block content.

Parameters:
$help_text Text to place in the small help text area beneath the cart block title or FALSE if disabled.
$items An associative array of item information containing the keys 'qty', 'title', 'price', and 'desc'.
$item_count The number of items in the shopping cart.
$item_text A textual representation of the number of items in the shopping cart.
$total The unformatted total of all the products in the shopping cart.
$summary_links An array of links used in the cart summary.

phptemplate_uc_cart_block_items ( items  ) 

Theme the table listing the items in the shopping cart block.

Parameters:
$items An associative array of item information containing the keys 'qty', 'title', 'price', and 'desc'.

phptemplate_uc_cart_block_summary ( item_count,
item_text,
total,
summary_links 
)

Theme the summary table at the bottom of the default shopping cart block.

Parameters:
$item_count The number of items in the shopping cart.
$item_text A textual representation of the number of items in the shopping cart.
$total The unformatted total of all the products in the shopping cart.
$summary_links An array of links used in the summary.

theme_admin_block ( block  ) 

This function formats an administrative block for display.

Parameters:
$block An array containing information about the block. It should include a 'title', a 'description' and a formatted 'content'.

theme_admin_block_content ( content  ) 

This function formats the content of an administrative block.

Parameters:
$block An array containing information about the block. It should include a 'title', a 'description' and a formatted 'content'.

theme_admin_page ( blocks  ) 

This function formats an administrative page for viewing.

Parameters:
$blocks An array of blocks to display. Each array should include a 'title', a 'description', a formatted 'content' and a 'position' which will control which container it will be in. This is usually 'left' or 'right'.

theme_aggregator_categorize_items ( form  ) 

Theme the page list form for assigning categories.

Parameters:
$form An associative array containing the structure of the form.
Returns:
The output HTML.

theme_aggregator_page_opml ( feeds  ) 

Theme the OPML feed output.

Parameters:
$feeds An array of the feeds to theme.

theme_aggregator_page_rss ( feeds,
category = NULL 
)

Theme the RSS output.

Parameters:
$feeds An array of the feeds to theme.
$category A common category, if any, for all the feeds.

theme_blocks ( region  ) 

Return a set of blocks available for the current user.

Parameters:
$region Which set of blocks to retrieve.
Returns:
A string containing the themed blocks for this region.

theme_book_admin_table ( form  ) 

Theme function for the book administration page form.

See also:
book_admin_table()

theme_box ( title,
content,
region = 'main' 
)

Return a themed box.

Parameters:
$title The subject of the box.
$content The content of the box.
$region The region in which the box is displayed.
Returns:
A string containing the box output.

theme_breadcrumb ( breadcrumb  ) 

Return a themed breadcrumb trail.

Parameters:
$breadcrumb An array containing the breadcrumb links.
Returns:
a string containing the breadcrumb output.

theme_button ( element  ) 

Theme a form button.

theme_cart_review_table ( show_subtotal = TRUE  ) 

Format the cart contents table on the checkout page.

Parameters:
$show_subtotal TRUE or FALSE indicating if you want a subtotal row displayed in the table.
Returns:
The HTML output for the cart review table.

theme_checkbox ( element  ) 

Format a checkbox.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, return_value, description, required
Returns:
A themed HTML string representing the checkbox.

theme_checkboxes ( element  ) 

Format a set of checkboxes.

Parameters:
$element An associative array containing the properties of the element.
Returns:
A themed HTML string representing the checkbox set.

theme_closure ( main = 0  ) 

Execute hook_footer() which is run at the end of the page right before the close of the body tag.

Parameters:
$main (optional) Whether the current page is the front page of the site.
Returns:
A string containing the results of the hook_footer() calls.

theme_comment_admin_overview ( form  ) 

Theme the comment admin form.

Parameters:
$form An associative array containing the structure of the form.

theme_date ( element  ) 

Format a date selection element.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, options, description, required and attributes.
Returns:
A themed HTML string representing the date selection boxes.

theme_feed_icon ( url,
title 
)

Return code that emits an feed icon.

Parameters:
$url The url of the feed.
$title A descriptive title of the feed.

theme_fieldset ( element  ) 

Format a group of form items.

Parameters:
$element An associative array containing the properties of the element. Properties used: attributes, title, value, description, children, collapsible, collapsed
Returns:
A themed HTML string representing the form item group.

theme_file ( element  ) 

Format a file upload field.

Parameters:
$title The label for the file upload field.
$name The internal name used to refer to the field.
$size A measure of the visible size of the field (passed directly to HTML).
$description Explanatory text to display after the form item.
$required Whether the user must upload a file to the field.
Returns:
A themed HTML string representing the field.
For assistance with handling the uploaded file correctly, see the API provided by file.inc.

theme_filter_admin_order ( form  ) 

Theme filter order configuration form.

theme_filter_admin_overview ( form  ) 

Theme the admin overview form.

theme_filter_tips ( tips,
long = FALSE,
extra = '' 
)

Format a set of filter tips.

theme_form ( element  ) 

Format a form.

Parameters:
$element An associative array containing the properties of the element. Properties used: action, method, attributes, children
Returns:
A themed HTML string representing the form.

theme_form_element ( element,
value 
)

Return a themed form element.

Parameters:
element An associative array containing the properties of the element. Properties used: title, description, id, required
$value The form element's data.
Returns:
A string representing the form element.

theme_help (  ) 

Return a themed help message.

Returns:
a string containing the helptext for the current page.

theme_hidden ( element  ) 

Format a hidden form field.

Parameters:
$element An associative array containing the properties of the element. Properties used: value, edit
Returns:
A themed HTML string representing the hidden form field.

theme_image ( path,
alt = '',
title = '',
attributes = NULL,
getsize = TRUE 
)

Return a themed image.

Parameters:
$path Either the path of the image file (relative to base_path()) or a full URL.
$alt The alternative text for text-based browsers.
$title The title text is displayed when the image is hovered in some popular browsers.
$attributes Associative array of attributes to be placed in the img tag.
$getsize If set to TRUE, the image's dimension are fetched and added as width/height attributes.
Returns:
A string containing the image tag.

theme_image_button ( element  ) 

Theme a form image button.

theme_indentation ( size = 1  ) 

Create a standard indentation div. Used for drag and drop tables.

Parameters:
$size Optional. The number of indentations to create.
Returns:
A string containing indentations.

theme_item ( element  ) 

Format a form item.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, description, required, error
Returns:
A themed HTML string representing the form item.

theme_item_list ( items = array(),
title = NULL,
type = 'ul',
attributes = NULL 
)

Return a themed list of items.

Parameters:
$items An array of items to be displayed in the list. If an item is a string, then it is used as is. If an item is an array, then the "data" element of the array is used as the contents of the list item. If an item is an array with a "children" element, those children are displayed in a nested list. All other elements are treated as attributes of the list item element.
$title The title of the list.
$type The type of list to return (e.g. "ul", "ol")
$attributes The attributes applied to the list element.
Returns:
A string containing the list output.

theme_links ( links,
attributes = array('class' => 'links') 
)

Return a themed set of links.

Parameters:
$links A keyed array of links to be themed.
$attributes A keyed array of attributes
Returns:
A string containing an unordered list of links.

theme_locale_languages_overview_form ( form  ) 

Theme the language overview form.

theme_mark ( type = MARK_NEW  ) 

Return a themed marker, useful for marking new or updated content.

Parameters:
$type Number representing the marker type to display
See also:
MARK_NEW, MARK_UPDATED, MARK_READ
Returns:
A string containing the marker.

theme_markup ( element  ) 

Format HTML markup for use in forms.

This is used in more advanced forms, such as theme selection and filter format.

Parameters:
$element An associative array containing the properties of the element. Properties used: value, children.
Returns:
A themed HTML string representing the HTML markup.

theme_menu_item ( link,
has_children,
menu = '',
in_active_trail = FALSE,
extra_class = NULL 
)

Generate the HTML output for a menu item and submenu.

theme_menu_item_link ( link  ) 

Generate the HTML output for a single menu link.

theme_menu_local_task ( link,
active = FALSE 
)

Generate the HTML output for a single local task link.

theme_menu_local_tasks (  ) 

Returns the rendered local tasks. The default implementation renders them as tabs.

theme_menu_overview_form ( form  ) 

Theme the menu overview form into a table.

theme_menu_tree ( tree  ) 

Generate the HTML output for a menu tree

theme_more_help_link ( url  ) 

Returns code that emits the 'more help'-link.

theme_more_link ( url,
title 
)

Returns code that emits the 'more' link used on blocks.

Parameters:
$url The url of the main page
$title A descriptive verb for the link, like 'Read more'

theme_node_add_list ( content  ) 

Display the list of available node types for node creation.

theme_node_admin_nodes ( form  ) 

Theme node administration overview.

theme_node_filter_form ( form  ) 

Theme node administration filter form.

theme_node_filters ( form  ) 

Theme node administration filter selector.

theme_node_form ( form  ) 

Present a node submission form.

theme_node_preview ( node  ) 

Display a node preview for display during node creation and editing.

Parameters:
$node The node object which is being previewed.

theme_pager ( tags = array(),
limit = 10,
element = 0,
parameters = array(),
quantity = 9 
)

Format a query pager.

Menu callbacks that display paged query results should call theme('pager') to retrieve a pager control so that users can view other results. Format a list of nearby pages with additional query results.

Parameters:
$tags An array of labels for the controls in the pager.
$limit The number of query results to display per page.
$element An optional integer to distinguish between multiple pagers on one page.
$parameters An associative array of query string parameters to append to the pager links.
$quantity The number of pages in the list.
Returns:
An HTML string that generates the query pager.

theme_pager_first ( text,
limit,
element = 0,
parameters = array() 
)

Format a "first page" link.

Parameters:
$text The name (or image) of the link.
$limit The number of query results to display per page.
$element An optional integer to distinguish between multiple pagers on one page.
$parameters An associative array of query string parameters to append to the pager links.
Returns:
An HTML string that generates this piece of the query pager.

theme_pager_last ( text,
limit,
element = 0,
parameters = array() 
)

Format a "last page" link.

Parameters:
$text The name (or image) of the link.
$limit The number of query results to display per page.
$element An optional integer to distinguish between multiple pagers on one page.
$parameters An associative array of query string parameters to append to the pager links.
Returns:
An HTML string that generates this piece of the query pager.

theme_pager_link ( text,
page_new,
element,
parameters = array(),
attributes = array() 
)

Format a link to a specific query result page.

Parameters:
$page_new The first result to display on the linked page.
$element An optional integer to distinguish between multiple pagers on one page.
$parameters An associative array of query string parameters to append to the pager link.
$attributes An associative array of HTML attributes to apply to a pager anchor tag.
Returns:
An HTML string that generates the link.

theme_pager_next ( text,
limit,
element = 0,
interval = 1,
parameters = array() 
)

Format a "next page" link.

Parameters:
$text The name (or image) of the link.
$limit The number of query results to display per page.
$element An optional integer to distinguish between multiple pagers on one page.
$interval The number of pages to move forward when the link is clicked.
$parameters An associative array of query string parameters to append to the pager links.
Returns:
An HTML string that generates this piece of the query pager.

theme_pager_previous ( text,
limit,
element = 0,
interval = 1,
parameters = array() 
)

Format a "previous page" link.

Parameters:
$text The name (or image) of the link.
$limit The number of query results to display per page.
$element An optional integer to distinguish between multiple pagers on one page.
$interval The number of pages to move backward when the link is clicked.
$parameters An associative array of query string parameters to append to the pager links.
Returns:
An HTML string that generates this piece of the query pager.

theme_password ( element  ) 

Format a password field.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, description, size, maxlength, required, attributes
Returns:
A themed HTML string representing the form.

theme_password_confirm ( element  ) 

Format a password_confirm item.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, id, required, error.
Returns:
A themed HTML string representing the form item.

theme_placeholder ( text  ) 

Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t().

Parameters:
$text The text to format (plain-text).
Returns:
The formatted text (html).

theme_profile_admin_overview ( form  ) 

Theme the profile field overview into a drag and drop enabled table.

See also:
profile_admin_overview()

theme_progress_bar ( percent,
message 
)

Return a themed progress bar.

Parameters:
$percent The percentage of the progress.
$message A string containing information to be displayed.
Returns:
A themed HTML string representing the progress bar.

theme_radio ( element  ) 

Format a radio button.

Parameters:
$element An associative array containing the properties of the element. Properties used: required, return_value, value, attributes, title, description
Returns:
A themed HTML string representing the form item group.

theme_radios ( element  ) 

Format a set of radio buttons.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, options, description, required and attributes.
Returns:
A themed HTML string representing the radio button set.

theme_select ( element  ) 

Format a dropdown menu or scrolling selection box.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, options, description, extra, multiple, required
Returns:
A themed HTML string representing the form element.
It is possible to group options together; to do this, change the format of $options to an associative array in which the keys are group labels, and the values are associative arrays in the normal $options format.

theme_status_messages ( display = NULL  ) 

Return a themed set of status and/or error messages. The messages are grouped by type.

Parameters:
$display (optional) Set to 'status' or 'error' to display only messages of that type.
Returns:
A string containing the messages.

theme_status_report ( &$  requirements  ) 

Theme requirements status report.

Parameters:
$requirements An array of requirements.

theme_submenu ( links  ) 

Return a themed submenu, typically displayed under the tabs.

Parameters:
$links An array of links.

theme_submit ( element  ) 

Theme a form submit button.

theme_summary_overview ( summaries,
link = TRUE 
)

Themes a summaries array into a handy div for use with some JS enhancement.

Parameters:
$summaries An array of summary arrays each containing the following keys:
  • path - the path of the settings form the array is summarizing.
  • title - the title of the settings form.
  • href - the actual URL of the summary's form page.
  • items - an array of items formatted for theme_item_list().
$link TRUE or FALSE indicating whether or not to display an edit icon linking to the settings form the summary represents.
Returns:
The HTML output of the summary.

theme_system_admin_by_module ( menu_items  ) 

Theme output of the dashboard page.

Parameters:
$menu_items An array of modules to be displayed.

theme_system_modules ( form  ) 

Theme callback for the modules form.

Parameters:
$form An associative array containing the structure of the form.

theme_system_modules_uninstall ( form  ) 

Themes a table of currently disabled modules.

Parameters:
$form The form array representing the currently disabled modules.
Returns:
An HTML string representing the table.

theme_system_theme_select_form ( form  ) 

Theme the theme select form.

Parameters:
$form An associative array containing the structure of the form.

theme_system_themes_form ( form  ) 

Theme function for the system themes form.

Parameters:
$form An associative array containing the structure of the form.

theme_table ( header,
rows,
attributes = array(),
caption = NULL 
)

Return a themed table.

Parameters:
$header An array containing the table headers. Each element of the array can be either a localized string or an associative array with the following keys:
  • "data": The localized title of the table column.
  • "field": The database field represented in the table column (required if user is to be able to sort on this column).
  • "sort": A default sort order for this column ("asc" or "desc").
  • Any HTML attributes, such as "colspan", to apply to the column header cell.
$rows An array of table rows. Every row is an array of cells, or an associative array with the following keys:
  • "data": an array of cells
  • Any HTML attributes, such as "class", to apply to the table row.
Each cell can be either a string or an associative array with the following keys:
  • "data": The string to display in the table cell.
  • "header": Indicates this cell is a header.
  • Any HTML attributes, such as "colspan", to apply to the table cell.

Here's an example for $rows:

 *   $rows = array(
 *     // Simple row
 *     array(
 *       'Cell 1', 'Cell 2', 'Cell 3'
 *     ),
 *     // Row with attributes on the row and some of its cells.
 *     array(
 *       'data' => array('Cell 1', array('data' => 'Cell 2', 'colspan' => 2)), 'class' => 'funky'
 *     )
 *   );
 *   

Parameters:
$attributes An array of HTML attributes to apply to the table tag.
$caption A localized string to use for the tag.
Returns:
An HTML string representing the table.

theme_table_select_header_cell (  ) 

Returns a header cell for tables that have a select all functionality.

theme_tablesort_indicator ( style  ) 

Return a themed sort icon.

Parameters:
$style Set to either asc or desc. This sets which icon to show.
Returns:
A themed sort icon.

theme_tapir_table ( element  ) 

Themes form data into a table for display.

Parameters:
$form The array of form information needing to be rendered into the table.
Returns:
The table output rendered in HTML.

theme_task_list ( items,
active = NULL 
)

Return a themed list of maintenance tasks to perform.

theme_taxonomy_overview_terms ( form  ) 

Theme the terms overview as a sortable list of terms.

See also:
taxonomy_overview_terms()

theme_taxonomy_overview_vocabularies ( form  ) 

Theme the vocabulary overview as a sortable list of vocabularies.

See also:
taxonomy_overview_vocabularies()

theme_taxonomy_term_page ( tids,
result 
)

Render a taxonomy term page HTML output.

Parameters:
$tids An array of term ids.
$result A pager_query() result, such as that performed by taxonomy_select_nodes().

theme_textarea ( element  ) 

Format a textarea.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, description, rows, cols, required, attributes
Returns:
A themed HTML string representing the textarea.

theme_textfield ( element  ) 

Format a textfield.

Parameters:
$element An associative array containing the properties of the element. Properties used: title, value, description, size, maxlength, required, attributes autocomplete_path
Returns:
A themed HTML string representing the textfield.

theme_token ( element  ) 

Format a form token.

theme_trigger_display ( element  ) 

Display actions assigned to this hook-op combination in a table.

Parameters:
array $element The fieldset including all assigned actions.
Returns:
The rendered form with the table prepended.

theme_uc_attribute_options_form ( form  ) 

Format an attribute and its options.

theme_uc_cart_checkout_review ( panes,
form 
)

Theme the checkout review order page.

Parameters:
$panes An associative array for each checkout pane that has information to add to the review page. The key is the pane's title and the value is either the data returned for that pane or an array of returned data.
$form The HTML version of the form that by default includes the 'Back' and 'Submit order' buttons at the bottom of the review page.
Returns:
A string of HTML for the page contents.

theme_uc_object_attributes_form ( form  ) 

Display the formatted attribute form.

theme_uc_object_options_form ( form  ) 

Display the option form.

theme_uc_price_settings_form ( form  ) 

Render the price handler form, adding tabledrag.

theme_uc_product_field_settings_form ( form  ) 

Display the product field settings form.

See also:
uc_product_field_settings_form()

theme_uc_quote_method_settings ( form  ) 

Display a formatted list of shipping quote methods and form elements.

See also:
uc_quote_method_settings()

theme_uc_shipping_edit_package_fieldset ( fieldset  ) 

Display a formatted shipping type fieldset.

theme_uc_shipping_new_package_fieldset ( fieldset  ) 

Format and display the products in a shipping type fieldset.

theme_uc_shipping_new_shipment ( form  ) 

Format and display the new shipment form.

theme_uc_ups_label_image (  ) 

Display the shipping label for printing.

Each argument is a component of the file path to the image.

theme_uc_ups_option_label ( service  ) 

Theme function to format the UPS service name and rate amount line-item shown to the customer.

Parameters:
$service The UPS service name.

theme_update_report ( data  ) 

Theme project status report.

theme_update_version ( version,
tag,
class 
)

Theme the version display of a project.

theme_user_admin_account ( form  ) 

Theme user administration overview.

theme_user_admin_new_role ( form  ) 

Theme the new-role form.

theme_user_admin_perm ( form  ) 

Theme the administer permissions page.

theme_user_filter_form ( form  ) 

Theme user administration filter form.

theme_user_filters ( form  ) 

Theme user administration filter selector.

theme_username ( object  ) 

Format a username.

Parameters:
$object The user object to format, usually returned from user_load().
Returns:
A string containing an HTML link to the user's page if the passed object suggests that this is a site user. Otherwise, only the username is returned.

theme_xml_icon ( url  ) 

Return code that emits an XML icon.

For most use cases, this function has been superseded by theme_feed_icon().

See also:
theme_feed_icon()
Parameters:
$url The url of the feed.