summaryrefslogtreecommitdiff
path: root/modules/search/search-result.tpl.php
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/search/search-result.tpl.php
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/search/search-result.tpl.php')
-rw-r--r--modules/search/search-result.tpl.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/search-result.tpl.php b/modules/search/search-result.tpl.php
index db9f2202f..949452ac3 100644
--- a/modules/search/search-result.tpl.php
+++ b/modules/search/search-result.tpl.php
@@ -45,7 +45,7 @@
* for its existence before printing. The default keys of 'type', 'user' and
* 'date' always exist for node searches. Modules may provide other data.
* @code
- * <?php if (isset($info_split['comment'])) : ?>
+ * <?php if (isset($info_split['comment'])): ?>
* <span class="info-comment">
* <?php print $info_split['comment']; ?>
* </span>
@@ -69,10 +69,10 @@
</h3>
<?php print render($title_suffix); ?>
<div class="search-snippet-info">
- <?php if ($snippet) : ?>
+ <?php if ($snippet): ?>
<p class="search-snippet"<?php print $content_attributes; ?>><?php print $snippet; ?></p>
<?php endif; ?>
- <?php if ($info) : ?>
+ <?php if ($info): ?>
<p class="search-info"><?php print $info; ?></p>
<?php endif; ?>
</div>