mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-15 05:57:02 +02:00
reintroduced the load saved searches feature
This commit is contained in:
30
webui/view/theme/default/templates/search/load.tpl
Normal file
30
webui/view/theme/default/templates/search/load.tpl
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent" style="top:0">
|
||||
|
||||
<div id="results">
|
||||
|
||||
<div class="resultrow">
|
||||
<?php if(count($terms) > 0){ ?>
|
||||
|
||||
<?php } else if(count($terms) == 0) { ?>
|
||||
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php foreach($terms as $term) {
|
||||
parse_str($term['term'], $s);
|
||||
?>
|
||||
<div class="resultrow">
|
||||
<a href="#" onclick="javascript:load_search_results('<?php print SEARCH_HELPER_URL; ?>', '<?php print $term['term']; ?>', 0); var a=document.getElementById('_search'); var v=decodeURIComponent('<?php print urlencode($s['search']); ?>'); v = v.replace(/\+/g, ' '); a.value=v; "><?php print $s['search']; ?></a></br />
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
//print_r($terms);
|
||||
|
||||
?>
|
Reference in New Issue
Block a user