| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @file aggregator-item.tpl.php 5 * Default theme implementation to format an individual feed item for display 6 * on the aggregator page. 7 * 8 * Available variables: 9 * - $feed_url: URL to the originating feed item. 10 * - $feed_title: Title of the feed item. 11 * - $source_url: Link to the local source section. 12 * - $source_title: Title of the remote source. 13 * - $source_date: Date the feed was posted on the remote source. 14 * - $content: Feed item content. 15 * - $categories: Linked categories assigned to the feed. 16 * 17 * @see template_preprocess() 18 * @see template_preprocess_aggregator_item() 19 */ 20 ?> 21 <div class="feed-item"> 22 <h3 class="feed-item-title"> 23 <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a> 24 </h3> 25 26 <div class="feed-item-meta"> 27 <?php if ($source_url) : ?> 28 <a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> - 29 <?php endif; ?> 30 <span class="feed-item-date"><?php print $source_date; ?></span> 31 </div> 32 33 <?php if ($content) : ?> 34 <div class="feed-item-body"> 35 <?php print $content; ?> 36 </div> 37 <?php endif; ?> 38 39 <?php if ($categories) : ?> 40 <div class="feed-item-categories"> 41 <?php print t('Categories'); ?>: <?php print implode(', ', $categories); ?> 42 </div> 43 <?php endif ;?> 44 45 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |