/[drupal]/drupal/modules/aggregator/aggregator-summary-item.tpl.php
ViewVC logotype

Contents of /drupal/modules/aggregator/aggregator-summary-item.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, 2 weeks 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: +8 -3 lines
File MIME type: text/x-php
- Patch #256793 by Senpai and flobruit: code clean up.
1 <?php
2 // $Id: aggregator-summary-item.tpl.php,v 1.1 2007/09/13 08:02:38 goba Exp $
3
4 /**
5 * @file
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>
20 <span class="age"><?php print $feed_age; ?></span>
21
22 <?php if ($source_url) : ?>,
23 <span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span>
24 <?php endif; ?>

  ViewVC Help
Powered by ViewVC 1.1.2