web/drupal/modules/aggregator/aggregator-summary-item.tpl.php
branchdrupal
changeset 74 0ff3ba646492
equal deleted inserted replaced
73:fcf75e232c5b 74:0ff3ba646492
       
     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; ?>