You are here

aggregator-summary-items.tpl.php in Drupal 6

Same filename and directory in other branches
  1. 7 modules/aggregator/aggregator-summary-items.tpl.php

aggregator-summary-items.tpl.php Default theme implementation to present feeds as list items.

Each iteration generates a single feed source or category.

Available variables:

  • $title: Title of the feed or category.
  • $summary_list: Unordered list of linked feed items generated through theme_item_list().
  • $source_url: URL to the local source or category.

See also

template_preprocess()

template_preprocess_aggregator_summary-items()

File

modules/aggregator/aggregator-summary-items.tpl.php
View source
<?php

/**
 * @file aggregator-summary-items.tpl.php
 * Default theme implementation to present feeds as list items.
 *
 * Each iteration generates a single feed source or category.
 *
 * Available variables:
 * - $title: Title of the feed or category.
 * - $summary_list: Unordered list of linked feed items generated through
 *   theme_item_list().
 * - $source_url: URL to the local source or category.
 *
 * @see template_preprocess()
 * @see template_preprocess_aggregator_summary-items()
 */
?>
<h2><?php

print $title;
?></h2>
<?php

print $summary_list;
?>
<div class="links">
  <a href="<?php

print $source_url;
?>"><?php

print t('More');
?></a>
</div>