system/classes/search.class.php
branchHEAD
changeset 7442 5f5387780b30
parent 7439 57bcdd15e6d4
child 7449 ad0616900bdb
     1.1 --- a/system/classes/search.class.php	Thu Nov 05 00:53:29 2009 +0000
     1.2 +++ b/system/classes/search.class.php	Thu Nov 05 21:35:39 2009 +0000
     1.3 @@ -481,12 +481,13 @@
     1.4          }
     1.5          else if ($style == 'google')
     1.6          {
     1.7 +            $sort_uid = $this->_author == '' ? true : false;
     1.8              $obj->setStyle('inline');
     1.9              $obj->setField('',          LF_ROW_NUMBER,  $show_num,  false, '<b>%d.</b>');
    1.10              $obj->setField($LANG09[16], 'title',        true,       true,  '%s<br' . XHTML . '>');
    1.11              $obj->setField('',          'description',  true,       false, '%s<br' . XHTML . '>');
    1.12              $obj->setField('',          '_html',        true,       false, '<span style="color:green;">');
    1.13 -            $obj->setField($LANG09[18], 'uid',          $show_user, true,  $LANG01[104].' %s ');
    1.14 +            $obj->setField($LANG09[18], 'uid',          $show_user, $sort_uid,  $LANG01[104].' %s ');
    1.15              $obj->setField($LANG09[17], 'date',         true,       true,  $LANG01[36].' %s');
    1.16              $obj->setField($LANG09[5],  LF_SOURCE_TITLE,$show_type, true,  ' - %s');
    1.17              $obj->setField($LANG09[50], 'hits',         $show_hits, true,  ' - %s '.$LANG09[50]);