annotate 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
rev   line source
webmaster@1 1 <?php
webmaster@1 2 // $Id: aggregator-summary-item.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $
webmaster@1 3
webmaster@1 4 /**
webmaster@1 5 * @file aggregator-summary-item.tpl.php
webmaster@1 6 * Default theme implementation to present a linked feed item for summaries.
webmaster@1 7 *
webmaster@1 8 * Available variables:
webmaster@1 9 * - $feed_url: Link to originating feed.
webmaster@1 10 * - $feed_title: Title of feed.
webmaster@1 11 * - $feed_age: Age of remote feed.
webmaster@1 12 * - $source_url: Link to remote source.
webmaster@1 13 * - $source_title: Locally set title for the source.
webmaster@1 14 *
webmaster@1 15 * @see template_preprocess()
webmaster@1 16 * @see template_preprocess_aggregator_summary_item()
webmaster@1 17 */
webmaster@1 18 ?>
webmaster@1 19 <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; ?>