Changeset 1713 in ExiteCMS


Ignore:
Timestamp:
08/28/08 17:42:07 (3 years ago)
Author:
hverton
Message:

updated the wiki search option to support the new default location selection

Location:
modules/common/wiki/php-files/modules/wiki
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/common/wiki/php-files/modules/wiki/search.wiki.php

    r1628 r1713  
    3838    if ($action == "") { 
    3939         
    40             // no pre-processing required for this search 
     40        // add the possible  search filters ($data is defined in the calling script!) 
     41        $data['search_filters' ] = "date,users"; 
    4142 
    4243    } else { 
  • modules/common/wiki/php-files/modules/wiki/templates/modules.wiki.search.wiki.tpl

    r1628 r1713  
    3535    {/section} 
    3636{else} 
    37     <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");' /> {$searches[id].search_title} {if $searches[id].search_fulltext}<span style='color:red;'>*</span>{/if}<br /> 
     37    <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 /> 
    3838{/if} 
    3939{***************************************************************************} 
Note: See TracChangeset for help on using the changeset viewer.