Mercurial > defr > drupal > core
diff modules/aggregator/aggregator-summary-item.tpl.php @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/aggregator/aggregator-summary-item.tpl.php Tue Dec 23 14:28:28 2008 +0100 @@ -0,0 +1,19 @@ +<?php +// $Id: aggregator-summary-item.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $ + +/** + * @file aggregator-summary-item.tpl.php + * Default theme implementation to present a linked feed item for summaries. + * + * Available variables: + * - $feed_url: Link to originating feed. + * - $feed_title: Title of feed. + * - $feed_age: Age of remote feed. + * - $source_url: Link to remote source. + * - $source_title: Locally set title for the source. + * + * @see template_preprocess() + * @see template_preprocess_aggregator_summary_item() + */ +?> +<a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a> <span class="age"><?php print $feed_age; ?></span><?php if ($source_url) : ?>, <span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span><?php endif; ?>