Changeset 1059 for trunk/search.php
- Timestamp:
- Feb 28, 2006, 5:28:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/search.php
r1036 r1059 36 36 if (isset($_POST['search_allwords']) 37 37 and !preg_match('/^\s*$/', $_POST['search_allwords'])) 38 { 38 { 39 39 $drop_char_match = array( 40 40 '-','^','$',';','#','&','(',')','<','>','`','\'','"','|',',','@','_', … … 43 43 ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','','',' ',' ',' ',' ','',' ', 44 44 ' ',' ',' ',' ',' ',' ',' ',' ','' ,' ',' ',' ',' ',' '); 45 45 46 46 // Split words 47 47 $search['fields']['allwords'] = array( … … 59 59 ); 60 60 } 61 61 62 62 if ($_POST['search_author']) 63 63 { … … 70 70 ); 71 71 } 72 72 73 73 if (isset($_POST['cat'])) 74 74 { … … 81 81 // dates 82 82 $type_date = $_POST['date_type']; 83 83 84 84 if (!empty($_POST['start_year'])) 85 85 { … … 111 111 ); 112 112 } 113 113 114 114 if (!empty($search)) 115 115 { … … 179 179 'L_MONTH'=>$lang['w_month'], 180 180 'L_SEARCH_DATE_TYPE'=>$lang['search_date_type'], 181 'L_SEARCH_CREATION'=>$lang['search_date_creation'],182 'L_SEARCH_AVAILABILITY'=>$lang['search_date_available'],183 181 'L_RESULT_SORT'=>$lang['search_sort'], 184 182 'L_SORT_ASCENDING'=>$lang['search_ascending'], 185 183 'L_SORT_DESCENDING'=>$lang['search_descending'], 186 184 187 185 'TODAY_DAY' => date('d', time()), 188 186 'TODAY_MONTH' => date('m', time()),
Note: See TracChangeset
for help on using the changeset viewer.