Mercurial > defr > drupal > core
comparison modules/aggregator/aggregator-feed-source.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 |
comparison
equal
deleted
inserted
replaced
| 0:5a113a1c4740 | 1:c1f4ac30525a |
|---|---|
| 1 <?php | |
| 2 // $Id: aggregator-feed-source.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $ | |
| 3 | |
| 4 /** | |
| 5 * @file aggregator-feed-source.tpl.php | |
| 6 * Default theme implementation to present the source of the feed. | |
| 7 * | |
| 8 * The contents are render above feed listings when browsing source feeds. | |
| 9 * For example, "example.com/aggregator/sources/1". | |
| 10 * | |
| 11 * Available variables: | |
| 12 * - $source_icon: Feed icon linked to the source. Rendered through | |
| 13 * theme_feed_icon(). | |
| 14 * - $source_image: Image set by the feed source. | |
| 15 * - $source_description: Description set by the feed source. | |
| 16 * - $source_url: URL to the feed source. | |
| 17 * - $last_checked: How long ago the feed was checked locally. | |
| 18 * | |
| 19 * @see template_preprocess() | |
| 20 * @see template_preprocess_aggregator_feed_source() | |
| 21 */ | |
| 22 ?> | |
| 23 <div class="feed-source"> | |
| 24 <?php print $source_icon; ?> | |
| 25 <?php print $source_image; ?> | |
| 26 <div class="feed-description"> | |
| 27 <?php print $source_description; ?> | |
| 28 </div> | |
| 29 <div class="feed-url"> | |
| 30 <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a> | |
| 31 </div> | |
| 32 <div class="feed-updated"> | |
| 33 <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?> | |
| 34 </div> | |
| 35 </div> |
