Changeset 2090 in ExiteCMS for trunk/search.php


Ignore:
Timestamp:
12/04/08 14:28:48 (3 years ago)
Author:
WanWizard
Message:

rewritten part of the search module logic. Now a session variable is used to store the search parameters, so they don't have to be exposed in the URL anymore
fixed some syntax errors in queries when using MySQL5.x
fixed some layout and locale issues in the search module output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/search.php

    r1936 r2090  
    4141if (!isset($action)) $action = ""; 
    4242$variables['action'] = $action; 
     43 
     44// if this is a new search, wipe the search session variables 
     45if (isset($_POST['search_id']) && isset($_SESSION['search'])) { 
     46    unset($_SESSION['search']); 
     47} 
    4348 
    4449if (!isset($search_id)) { 
Note: See TracChangeset for help on using the changeset viewer.