function theme_patterns_category_table in Patterns 7.2
Same name and namespace in other branches
- 7 theme/theme.inc \theme_patterns_category_table()
File
- theme/
theme.inc, line 341
Code
function theme_patterns_category_table($patterns) {
$form['patterns'][$category][] = _patterns_pattern_build_row($pid, $pattern);
$form['patterns'][$category] += array(
'#type' => 'fieldset',
'#title' => $category,
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#theme' => 'patterns_patterns_fieldset',
'#header' => array(
array(
'data' => t('Enabled'),
'class' => array(
'checkbox',
),
),
t('Format'),
t('Name'),
t('Title'),
t('Version'),
t('Description'),
t('Uri'),
),
);
return $form;
}