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