aggregator-feed-source.tpl.php
- 7.x drupal-7.x/modules/aggregator/aggregator-feed-source.tpl.php
- 6.x drupal-6.x/modules/aggregator/aggregator-feed-source.tpl.php
aggregator-feed-source.tpl.php Default theme implementation to present the source of the feed.
The contents are render above feed listings when browsing source feeds. For example, "example.com/aggregator/sources/1".
Available variables:
- $source_icon: Feed icon linked to the source. Rendered through theme_feed_icon().
- $source_image: Image set by the feed source.
- $source_description: Description set by the feed source.
- $source_url: URL to the feed source.
- $last_checked: How long ago the feed was checked locally.
See also
template_preprocess_aggregator_feed_source()
1 theme call to aggregator-feed-source.tpl.php
- aggregator_page_source in drupal-6.x/
modules/ aggregator/ aggregator.pages.inc - Menu callback; displays all the items captured from a particular feed.
File
drupal-6.x/modules/aggregator/aggregator-feed-source.tpl.phpView source
- <?php
-
- /**
- * @file aggregator-feed-source.tpl.php
- * Default theme implementation to present the source of the feed.
- *
- * The contents are render above feed listings when browsing source feeds.
- * For example, "example.com/aggregator/sources/1".
- *
- * Available variables:
- * - $source_icon: Feed icon linked to the source. Rendered through
- * theme_feed_icon().
- * - $source_image: Image set by the feed source.
- * - $source_description: Description set by the feed source.
- * - $source_url: URL to the feed source.
- * - $last_checked: How long ago the feed was checked locally.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_feed_source()
- */
- ?>
- <div class="feed-source">
- <?php print $source_icon; ?>
- <?php print $source_image; ?>
- <div class="feed-description">
- <?php print $source_description; ?>
- </div>
- <div class="feed-url">
- <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a>
- </div>
- <div class="feed-updated">
- <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?>
- </div>
- </div>
-