diff --git a/includes/common.inc b/includes/common.inc index 631d246..21c7f3e 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6809,7 +6809,7 @@ function drupal_common_theme() { 'variables' => array(), ), 'table' => array( - 'variables' => array('header' => NULL, 'rows' => NULL, 'attributes' => array(), 'caption' => NULL, 'colgroups' => array(), 'sticky' => TRUE, 'empty' => ''), + 'variables' => array('header' => NULL, 'footer' => NULL, 'rows' => NULL, 'attributes' => array(), 'caption' => NULL, 'colgroups' => array(), 'sticky' => TRUE, 'empty' => ''), ), 'tablesort_indicator' => array( 'variables' => array('style' => NULL), diff --git a/includes/theme.inc b/includes/theme.inc index ed34b82..70efbb3 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1895,24 +1895,24 @@ function theme_breadcrumb($variables) { * - 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"). Only - * one column should be given a default sort order because table sorting + * - 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"). Only one + * column should be given a default sort order because table sorting * only applies to one column at a time. * - 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 + * - data: an array of cells * - Any HTML attributes, such as "class", to apply to the table row. - * - "no_striping": a boolean indicating that the row should receive no + * - no_striping: a boolean indicating that the row should receive no * 'even / odd' styling. Defaults to FALSE. * 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. + * - 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: * @code @@ -1924,9 +1924,11 @@ function theme_breadcrumb($variables) { * // Row with attributes on the row and some of its cells. * array( * 'data' => array('Cell 1', array('data' => 'Cell 2', 'colspan' => 2)), 'class' => array('funky') - * ) + * ), * ); * @endcode + * - footer: An array of table rows which will be printed within a
+ * tag, in the same format as the rows element (see above). * - attributes: An array of HTML attributes to apply to the table tag. * - caption: A localized string to use for the