1. 6.x modules/aggregator/aggregator-summary-items.tpl.php
  2. 7.x 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()

2 theme calls to aggregator-summary-items.tpl.php
aggregator_page_categories in modules/aggregator/aggregator.pages.inc
Menu callback; displays all the categories used by the aggregator.
aggregator_page_sources in modules/aggregator/aggregator.pages.inc
Menu callback; displays all the feeds used by the aggregator.

File

modules/aggregator/aggregator-summary-items.tpl.php
View source
  1. <?php
  2. /**
  3. * @file aggregator-summary-items.tpl.php
  4. * Default theme implementation to present feeds as list items.
  5. *
  6. * Each iteration generates a single feed source or category.
  7. *
  8. * Available variables:
  9. * - $title: Title of the feed or category.
  10. * - $summary_list: Unordered list of linked feed items generated through
  11. * theme_item_list().
  12. * - $source_url: URL to the local source or category.
  13. *
  14. * @see template_preprocess()
  15. * @see template_preprocess_aggregator_summary-items()
  16. */
  17. ?>
  18. <h2><?php print $title; ?></h2>
  19. <?php print $summary_list; ?>
  20. <div class="links">
  21. <a href="<?php print $source_url; ?>"><?php print t('More'); ?></a>
  22. </div>