piler/webui/view/theme/default/templates/search/load.tpl

29 lines
707 B
Smarty
Raw Normal View History

2013-02-11 20:24:19 +01:00
<div id="messagelistcontainer" class="boxlistcontent">
<div id="results">
<div class="resultrow">
<?php if(count($terms) > 0){ ?>
<?php } else if(count($terms) == 0) { ?>
<div class="alert">
<strong><?php print $text_empty_search_result; ?></strong>
</div>
<?php } ?>
</div>
<?php foreach($terms as $term) {
parse_str($term['term'], $s);
2013-03-24 10:02:34 +01:00
if(isset($s['search']) && $s['search']) {
?>
<div class="resultrow center">
2013-02-11 20:24:19 +01:00
<a href="#" onclick="Piler.load_search_results_for_saved_query('<?php print urldecode($term['term']); ?>');"><?php print $s['search']; ?></a></br />
</div>
2012-09-18 15:54:48 +02:00
<?php } } ?>
</div>
</div>