Mercurial > defr > drupal > core
annotate modules/aggregator/aggregator-feed-source.tpl.php @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:16:10 +0100 |
parents | c1f4ac30525a |
children |
rev | line source |
---|---|
webmaster@1 | 1 <?php |
webmaster@1 | 2 // $Id: aggregator-feed-source.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $ |
webmaster@1 | 3 |
webmaster@1 | 4 /** |
webmaster@1 | 5 * @file aggregator-feed-source.tpl.php |
webmaster@1 | 6 * Default theme implementation to present the source of the feed. |
webmaster@1 | 7 * |
webmaster@1 | 8 * The contents are render above feed listings when browsing source feeds. |
webmaster@1 | 9 * For example, "example.com/aggregator/sources/1". |
webmaster@1 | 10 * |
webmaster@1 | 11 * Available variables: |
webmaster@1 | 12 * - $source_icon: Feed icon linked to the source. Rendered through |
webmaster@1 | 13 * theme_feed_icon(). |
webmaster@1 | 14 * - $source_image: Image set by the feed source. |
webmaster@1 | 15 * - $source_description: Description set by the feed source. |
webmaster@1 | 16 * - $source_url: URL to the feed source. |
webmaster@1 | 17 * - $last_checked: How long ago the feed was checked locally. |
webmaster@1 | 18 * |
webmaster@1 | 19 * @see template_preprocess() |
webmaster@1 | 20 * @see template_preprocess_aggregator_feed_source() |
webmaster@1 | 21 */ |
webmaster@1 | 22 ?> |
webmaster@1 | 23 <div class="feed-source"> |
webmaster@1 | 24 <?php print $source_icon; ?> |
webmaster@1 | 25 <?php print $source_image; ?> |
webmaster@1 | 26 <div class="feed-description"> |
webmaster@1 | 27 <?php print $source_description; ?> |
webmaster@1 | 28 </div> |
webmaster@1 | 29 <div class="feed-url"> |
webmaster@1 | 30 <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a> |
webmaster@1 | 31 </div> |
webmaster@1 | 32 <div class="feed-updated"> |
webmaster@1 | 33 <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?> |
webmaster@1 | 34 </div> |
webmaster@1 | 35 </div> |