summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-09-11 20:28:49 -0400
committerDries Buytaert <dries@buytaert.net>2011-09-11 20:28:49 -0400
commit19d469fb07a0af7d334e4fd27e4d93803ca21840 (patch)
treed9188b9d2f28e164240000015a2d77c55a4f3d50 /modules/aggregator
parentdcea6ffb1bacaa050f0d2a0d2656c075c8fc94ea (diff)
downloadbrdo-19d469fb07a0af7d334e4fd27e4d93803ca21840.tar.gz
brdo-19d469fb07a0af7d334e4fd27e4d93803ca21840.tar.bz2
- Patch #999040 by Niklas Fiekas: corrected alternative control structure syntax in theme templates.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator-item.tpl.php6
-rw-r--r--modules/aggregator/aggregator-summary-item.tpl.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/aggregator/aggregator-item.tpl.php b/modules/aggregator/aggregator-item.tpl.php
index c5dd70c67..e9ad1e0d7 100644
--- a/modules/aggregator/aggregator-item.tpl.php
+++ b/modules/aggregator/aggregator-item.tpl.php
@@ -24,19 +24,19 @@
</h3>
<div class="feed-item-meta">
- <?php if ($source_url) : ?>
+ <?php if ($source_url): ?>
<a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> -
<?php endif; ?>
<span class="feed-item-date"><?php print $source_date; ?></span>
</div>
-<?php if ($content) : ?>
+<?php if ($content): ?>
<div class="feed-item-body">
<?php print $content; ?>
</div>
<?php endif; ?>
-<?php if ($categories) : ?>
+<?php if ($categories): ?>
<div class="feed-item-categories">
<?php print t('Categories'); ?>: <?php print implode(', ', $categories); ?>
</div>
diff --git a/modules/aggregator/aggregator-summary-item.tpl.php b/modules/aggregator/aggregator-summary-item.tpl.php
index 1c8299938..fcd57c7a4 100644
--- a/modules/aggregator/aggregator-summary-item.tpl.php
+++ b/modules/aggregator/aggregator-summary-item.tpl.php
@@ -18,6 +18,6 @@
<a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
<span class="age"><?php print $feed_age; ?></span>
-<?php if ($source_url) : ?>,
-<span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span>
+<?php if ($source_url): ?>,
+ <span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span>
<?php endif; ?>