/[drupal]/drupal/modules/aggregator/aggregator-feed-source.tpl.php
ViewVC logotype

Contents of /drupal/modules/aggregator/aggregator-feed-source.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Thu May 15 21:27:32 2008 UTC (18 months, 1 week ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-1, DRUPAL-7-0-UNSTABLE-2, DRUPAL-7-0-UNSTABLE-3, DRUPAL-7-0-UNSTABLE-4, DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.1: +3 -3 lines
File MIME type: text/x-php
- Patch #256793 by Senpai and flobruit: code clean up.
1 <?php
2 // $Id: aggregator-feed-source.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $
3
4 /**
5 * @file
6 * Default theme implementation to present the source of the feed.
7 *
8 * The contents are rendered 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>

  ViewVC Help
Powered by ViewVC 1.1.2