function theme_aggregator_page_list in Drupal 5
Same name and namespace in other branches
- 4 modules/aggregator.module \theme_aggregator_page_list()
File
- modules/
aggregator/ aggregator.module, line 1135 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
function theme_aggregator_page_list($form) {
$output = '<div id="aggregator">';
$output .= drupal_render($form['header']);
$rows = array();
if ($form['items']) {
foreach (element_children($form['items']) as $key) {
if (is_array($form['items'][$key])) {
$rows[] = array(
drupal_render($form['items'][$key]),
array(
'data' => drupal_render($form['categories'][$key]),
'class' => 'categorize-item',
),
);
}
}
}
$output .= theme('table', array(
'',
t('Categorize'),
), $rows);
$output .= drupal_render($form['submit']);
$output .= '</div>';
$output .= drupal_render($form);
return $output;
}