Projet

Général

Profil

Paste
Télécharger (1,08 ko) Statistiques
| Branche: | Révision:

root / drupal7 / modules / aggregator / aggregator-feed-source.tpl.php @ 73a44071

1
<?php
2

    
3
/**
4
 * @file
5
 * Default theme implementation to present the source of the feed.
6
 *
7
 * The contents are rendered above feed listings when browsing source feeds.
8
 * For example, "example.com/aggregator/sources/1".
9
 *
10
 * Available variables:
11
 * - $source_icon: Feed icon linked to the source. Rendered through
12
 *   theme_feed_icon().
13
 * - $source_image: Image set by the feed source.
14
 * - $source_description: Description set by the feed source.
15
 * - $source_url: URL to the feed source.
16
 * - $last_checked: How long ago the feed was checked locally.
17
 *
18
 * @see template_preprocess()
19
 * @see template_preprocess_aggregator_feed_source()
20
 *
21
 * @ingroup themeable
22
 */
23
?>
24
<div class="feed-source">
25
  <?php print $source_icon; ?>
26
  <?php print $source_image; ?>
27
  <div class="feed-description">
28
    <?php print $source_description; ?>
29
  </div>
30
  <div class="feed-url">
31
    <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a>
32
  </div>
33
  <div class="feed-updated">
34
    <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?>
35
  </div>
36
</div>