aggregator-summary-item.tpl.php 715 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to present a linked feed item for summaries.
  5. *
  6. * Available variables:
  7. * - $feed_url: Link to originating feed.
  8. * - $feed_title: Title of feed.
  9. * - $feed_age: Age of remote feed.
  10. * - $source_url: Link to remote source.
  11. * - $source_title: Locally set title for the source.
  12. *
  13. * @see template_preprocess()
  14. * @see template_preprocess_aggregator_summary_item()
  15. *
  16. * @ingroup themeable
  17. */
  18. ?>
  19. <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
  20. <span class="age"><?php print $feed_age; ?></span>
  21. <?php if ($source_url): ?>,
  22. <span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span>
  23. <?php endif; ?>