Changeset 1059 for trunk/search.php


Ignore:
Timestamp:
Feb 28, 2006, 5:28:06 AM (18 years ago)
Author:
rvelices
Message:

calendar improvements: week on weekly list starts on Monday,
ability to show grayed months/weeks/days (without any picture in it),
added icons for created/posted fields
language uniformization

calendar fixes: correct number of pictures in calendar view,
code simplification (I hope so)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/search.php

    r1036 r1059  
    3636  if (isset($_POST['search_allwords'])
    3737      and !preg_match('/^\s*$/', $_POST['search_allwords']))
    38   {   
     38  {
    3939    $drop_char_match = array(
    4040      '-','^','$',';','#','&','(',')','<','>','`','\'','"','|',',','@','_',
     
    4343      ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','','',' ',' ',' ',' ','',' ',
    4444      ' ',' ',' ',' ',' ',' ',' ',' ','' ,' ',' ',' ',' ',' ');
    45        
     45
    4646    // Split words
    4747    $search['fields']['allwords'] = array(
     
    5959      );
    6060  }
    61  
     61
    6262  if ($_POST['search_author'])
    6363  {
     
    7070      );
    7171  }
    72  
     72
    7373  if (isset($_POST['cat']))
    7474  {
     
    8181  // dates
    8282  $type_date = $_POST['date_type'];
    83  
     83
    8484  if (!empty($_POST['start_year']))
    8585  {
     
    111111      );
    112112  }
    113  
     113
    114114  if (!empty($search))
    115115  {
     
    179179  'L_MONTH'=>$lang['w_month'],
    180180  'L_SEARCH_DATE_TYPE'=>$lang['search_date_type'],
    181   'L_SEARCH_CREATION'=>$lang['search_date_creation'],
    182   'L_SEARCH_AVAILABILITY'=>$lang['search_date_available'],
    183181  'L_RESULT_SORT'=>$lang['search_sort'],
    184182  'L_SORT_ASCENDING'=>$lang['search_ascending'],
    185183  'L_SORT_DESCENDING'=>$lang['search_descending'],
    186  
     184
    187185  'TODAY_DAY' => date('d', time()),
    188186  'TODAY_MONTH' => date('m', time()),
Note: See TracChangeset for help on using the changeset viewer.