aboutsummaryrefslogtreecommitdiff
path: root/templates/aggregator-item.tpl.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
commit45748d73b5e784ad3e79350564eb68dcac71aa45 (patch)
treeedafc25882f15975ee4e6b3717ca70dcee50f398 /templates/aggregator-item.tpl.php
downloadmuambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.gz
muambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.bz2
Initial import
Diffstat (limited to 'templates/aggregator-item.tpl.php')
-rw-r--r--templates/aggregator-item.tpl.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/aggregator-item.tpl.php b/templates/aggregator-item.tpl.php
new file mode 100644
index 0000000..e2f9262
--- /dev/null
+++ b/templates/aggregator-item.tpl.php
@@ -0,0 +1,28 @@
+<?php
+// $Id$
+/**
+ * @file
+ * Output for individual aggregator feed item markup.
+ */
+?>
+<article class="feed-item clearfix">
+ <header>
+ <h2 class="title feed-item-title"><a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a></h2>
+ <div class="meta feed-item-meta">
+ <?php if ($source_url) : ?>
+ <a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> &ndash;
+ <?php endif; ?>
+ <span class="feed-item-date"><?php print $source_date; ?></span>
+ <?php if ($categories) : ?>
+ <span class="tags feed-item-categories">
+ <h3 class="field-label"><?php print t('Categories'); ?>:</h3> <?php print implode(', ', $categories); ?>
+ </span>
+ <?php endif ;?>
+ </div>
+ </header>
+ <?php if ($content) : ?>
+ <div class="content clearfix feed-item-body">
+ <?php print $content; ?>
+ </div>
+<?php endif; ?>
+</article>