summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php b/kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php
new file mode 100644
index 0000000..f9cfa55
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/aggregator/aggregator-feed-source.tpl.php
@@ -0,0 +1,36 @@
+<?php
+
+/**
+ * @file
+ * Default theme implementation to present the source of the feed.
+ *
+ * The contents are rendered above feed listings when browsing source feeds.
+ * For example, "example.com/aggregator/sources/1".
+ *
+ * Available variables:
+ * - $source_icon: Feed icon linked to the source. Rendered through
+ * theme_feed_icon().
+ * - $source_image: Image set by the feed source.
+ * - $source_description: Description set by the feed source.
+ * - $source_url: URL to the feed source.
+ * - $last_checked: How long ago the feed was checked locally.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_aggregator_feed_source()
+ *
+ * @ingroup themeable
+ */
+?>
+<div class="feed-source">
+ <?php print $source_icon; ?>
+ <?php print $source_image; ?>
+ <div class="feed-description">
+ <?php print $source_description; ?>
+ </div>
+ <div class="feed-url">
+ <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a>
+ </div>
+ <div class="feed-updated">
+ <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?>
+ </div>
+</div>