HomeHelpTrac

Ignore:
Timestamp:
01/05/09 02:48:29 (3 years ago)
Author:
Alexander Trofimov
Message:
  • default no-image pictures were changed
  • XMLRPC interface was updated
  • mobile logo icon was added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCSearch.php

    r8238 r8244  
    33class BxDolXMLRPCSearch 
    44{ 
    5     function getSearchResultsLocation($sUser, $sPwd, $sCountryCode, $sCity, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 
     5    function getSearchResultsLocation($sUser, $sPwd, $sLang, $sCountryCode, $sCity, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 
    66    { 
    77        if (!($iId = BxDolXMLRPCUtil::checkLogin ($sUser, $sPwd))) 
    88            return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 
     9 
     10        BxDolXMLRPCUtil::setLanguage ($sLang);  
    911 
    1012        $sWhere = ''; 
     
    3941    } 
    4042 
    41     function getSearchResultsKeyword($sUser, $sPwd, $sKeyword, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 
     43    function getSearchResultsKeyword($sUser, $sPwd, $sLang, $sKeyword, $isOnlineOnly, $isWithPhotosOnly, $iStart, $iPP) 
    4244    { 
    4345        if (!($iId = BxDolXMLRPCUtil::checkLogin ($sUser, $sPwd))) 
    4446            return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "scruct")); 
     47 
     48        BxDolXMLRPCUtil::setLanguage ($sLang);  
    4549 
    4650        $sMatch = ''; 
     
    7175 
    7276        while ($aRow = mysql_fetch_array ($r)) 
    73             $aProfiles[] = new xmlrpcval(BxDolXMLRPCUtil::fillProfileArray($aRow, 'icon'), 'struct'); 
     77            $aProfiles[] = new xmlrpcval(BxDolXMLRPCUtil::fillProfileArray($aRow, 'thumb'), 'struct'); 
    7478 
    7579        return new xmlrpcval ($aProfiles, "array"); 
Note: See TracChangeset for help on using the changeset viewer.