function theme_aggregator_categorize_items

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 aggregator.pages.inc theme_aggregator_categorize_items($variables)
cle7 aggregator.pages.inc theme_aggregator_categorize_items($variables)
elmsmedia7 aggregator.pages.inc theme_aggregator_categorize_items($variables)
icor7 aggregator.pages.inc theme_aggregator_categorize_items($variables)
meedjum_blog7 aggregator.pages.inc theme_aggregator_categorize_items($variables)
mooc7 aggregator.pages.inc theme_aggregator_categorize_items($variables)

Returns HTML for the aggregator page list form for assigning categories.

Parameters

$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

1 string reference to the theme hook from theme_aggregator_categorize_items()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

aggregator_theme in modules/aggregator/aggregator.module
Implements hook_theme().

File

modules/aggregator/aggregator.pages.inc, line 282
User page callbacks for the Aggregator module.

Code

function theme_aggregator_categorize_items($variables) {
  $form = $variables['form'];

  $output = drupal_render($form['feed_source']);
  $rows = array();
  if (!empty($form['items'])) {
    foreach (element_children($form['items']) as $key) {
      $rows[] = array(
        drupal_render($form['items'][$key]),
        array(
          'data' => drupal_render($form['categories'][$key]),
          'class' => array('categorize-item'),
        ),
      );
    }
  }
  $output .= theme('table', array('header' => array('', t('Categorize')), 'rows' => $rows));
  $output .= drupal_render($form['submit']);
  $output .= drupal_render_children($form);

  return theme('aggregator_wrapper', array('content' => $output));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.