diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-13 08:02:38 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-13 08:02:38 +0000 |
commit | a5adbe4636816846cf35ed05c90eac35bbf8995e (patch) | |
tree | 219cb2a382cfb53d9bcac293947313474f06d73e /modules/aggregator/aggregator-feed-source.tpl.php | |
parent | eddb278a0a4dd0ccbfc0370349d2a9f9cd97fea6 (diff) | |
download | brdo-a5adbe4636816846cf35ed05c90eac35bbf8995e.tar.gz brdo-a5adbe4636816846cf35ed05c90eac35bbf8995e.tar.bz2 |
#173082 by dvessel: tplify aggregator module, make more stuff themeable
Diffstat (limited to 'modules/aggregator/aggregator-feed-source.tpl.php')
-rw-r--r-- | modules/aggregator/aggregator-feed-source.tpl.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator-feed-source.tpl.php b/modules/aggregator/aggregator-feed-source.tpl.php new file mode 100644 index 000000000..77bb51eaf --- /dev/null +++ b/modules/aggregator/aggregator-feed-source.tpl.php @@ -0,0 +1,35 @@ +<?php +// $Id$ + +/** + * @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> |