Ignore:
Timestamp:
08/28/08 17:37:47 (4 years ago)
Author:
hverton
Message:

updated the search module to determine the default search location based on the priority order in the search admin module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/search/templates/search.forumattachments.tpl

    r1620 r1711  
    3232    {/section} 
    3333{else} 
    34     <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id}checked='checked'{/if} onclick='javascript:show_filter("date,users,forums");' /> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
     34    <input type='radio' name='search_id' value='{$searches[id].search_id}' {if $search_id == $searches[id].search_id || $searches[id].search_order == $default_location}checked='checked'{/if}  onclick='javascript:show_filter("{$searches[id].search_filters}");'/> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
    3535{/if} 
    3636{***************************************************************************} 
Note: See TracChangeset for help on using the changeset viewer.