Changeset 7684 for trunk/xmlrpc/BxDolXMLRPCProfileView.php
- Timestamp:
- 11/25/08 11:36:10 (4 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc/BxDolXMLRPCProfileView.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCProfileView.php
r7681 r7684 3 3 require_once( BX_DIRECTORY_PATH_BASE . 'scripts/BxBaseProfileView.php' ); 4 4 5 class BxDolXMLRPCProfileView extends BxBaseProfile View5 class BxDolXMLRPCProfileView extends BxBaseProfileGenerator 6 6 { 7 7 function BxDolXMLRPCProfileView($iProfileId) 8 { 9 BxBaseProfile View::BxBaseProfileView($iProfileId);8 { 9 BxBaseProfileGenerator::BxBaseProfileGenerator ($iProfileId); 10 10 } 11 11 … … 44 44 $sValue1 = (isset($this->_aProfile['DateOfBirth'])) ? age($this->_aProfile['DateOfBirth']) : _t("_uknown"); 45 45 } 46 /* 47 if ($aItem['Name'] == 'Country') { 48 $sFlagName = strtolower($this->_aProfile[ $aItem['Name'] ]); 49 $sValue1 = '<img src="' . $site['flags'] . $sFlagName . '.gif" /> ' . $sValue1; 50 } 51 */ 46 52 47 if( !$sValue1 ) //if empty, do not draw 53 48 continue; … … 57 52 $aStruct['Caption'] = new xmlrpcval (strip_tags(_t($aItem['Caption']))); 58 53 $aStruct['Type'] = new xmlrpcval ($aItem['Type']); 59 // if ('area' == $aItem['Type'])60 // $sValue1 = str_replace ("<br />", "\n", $sValue1);61 54 $aStruct['Value1'] = new xmlrpcval (strip_tags($sValue1)); 62 55 … … 66 59 { 67 60 $sValue2 = $this->oPF->getViewableValue($aItem, $this->_aCouple[$aItem['Name']]); 68 // if ('area' == $aItem['Type'])69 // $sValue2 = str_replace ("<br />", "\n", $sValue2);70 61 $aStruct['Value1'] = new xmlrpcval (strip_tags($sValue1)); 71 62 }
Note: See TracChangeset
for help on using the changeset viewer.