root / drupal7 / modules / aggregator / aggregator-summary-item.tpl.php @ 73a44071
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Default theme implementation to present a linked feed item for summaries.
|
6 |
*
|
7 |
* Available variables:
|
8 |
* - $feed_url: Link to originating feed.
|
9 |
* - $feed_title: Title of feed.
|
10 |
* - $feed_age: Age of remote feed.
|
11 |
* - $source_url: Link to remote source.
|
12 |
* - $source_title: Locally set title for the source.
|
13 |
*
|
14 |
* @see template_preprocess()
|
15 |
* @see template_preprocess_aggregator_summary_item()
|
16 |
*
|
17 |
* @ingroup themeable
|
18 |
*/
|
19 |
?>
|
20 |
<a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a> |
21 |
<span class="age"><?php print $feed_age; ?></span> |
22 |
|
23 |
<?php if ($source_url): ?>, |
24 |
<span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span> |
25 |
<?php endif; ?> |