root / drupal7 / sites / all / themes / adaptivetheme / at_core / templates / aggregator-summary-items.tpl.php @ 74f6bef0
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | /**
|
||
3 | * @file
|
||
4 | * Adativetheme implementation to present feeds as list items.
|
||
5 | *
|
||
6 | * Each iteration generates a single feed source or category.
|
||
7 | *
|
||
8 | * Adaptivetheme variables:
|
||
9 | 74f6bef0 | Assos Assos | * - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return
|
10 | * TRUE for mobile. Note that tablets are also considered mobile devices.
|
||
11 | * Returns NULL if the feature could not be detected.
|
||
12 | * - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets.
|
||
13 | * Returns NULL if the feature could not be detected.
|
||
14 | 85ad3d82 | Assos Assos | *
|
15 | * Available variables:
|
||
16 | * - $title: Title of the feed or category.
|
||
17 | * - $summary_list: Unordered list of linked feed items generated through
|
||
18 | * theme_item_list().
|
||
19 | * - $source_url: URL to the local source or category.
|
||
20 | *
|
||
21 | * @see template_preprocess()
|
||
22 | * @see template_preprocess_aggregator_summary_items()
|
||
23 | *
|
||
24 | * @ingroup themeable
|
||
25 | */
|
||
26 | ?>
|
||
27 | <section id="feed-<?php print drupal_html_class($title); ?>" class="feed"> |
||
28 | <h2 class="summary-title"><?php print $title; ?></h2> |
||
29 | <?php print $summary_list; ?> |
||
30 | <p class="read-more"><a href="<?php print $source_url; ?>"><?php print t('More'); ?></a></p> |
||
31 | </section> |