[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/aggregator/ -> aggregator-feed-source.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file aggregator-feed-source.tpl.php
   5   * Default theme implementation to present the source of the feed.
   6   *
   7   * The contents are render 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  ?>
  22  <div class="feed-source">
  23    <?php print $source_icon; ?>
  24    <?php print $source_image; ?>
  25    <div class="feed-description">
  26      <?php print $source_description; ?>
  27    </div>
  28    <div class="feed-url">
  29      <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a>
  30    </div>
  31    <div class="feed-updated">
  32      <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?>
  33    </div>
  34  </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7