~ubuntu-branches/ubuntu/jaunty/drupal6/jaunty-updates

« back to all changes in this revision

Viewing changes to modules/aggregator/aggregator-summary-item.tpl.php

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2008-10-24 23:06:15 UTC
  • Revision ID: james.westby@ubuntu.com-20081024230615-a33t46nwna16bynv
Tags: upstream-6.6
ImportĀ upstreamĀ versionĀ 6.6

Show diffs side-by-side

added added

removed removed

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