Rozdiely pre Metafox/lib/soap/soap_server.php medzi verziami 1.2 a 1.3
| verzia 1.2, 2011/06/10 09:25:33 |
verzia 1.3, 2011/11/29 17:00:08 |
| Riadok 46 if (isset($_GET['wsdl'])) { |
|
| Riadok 46 if (isset($_GET['wsdl'])) { |
|
| global $ezin_cfg; |
global $ezin_cfg; |
| |
|
| $ret = strip_tags($str); |
$ret = strip_tags($str); |
| $ret = preg_replace('/&(\S)+;/',' ',$ret); |
$ret = htmlspecialchars($ret); |
| |
$ret = str_replace(array('%'),array('%'), $ret); |
| |
//$ret = preg_replace('/&(\S)+;/',' ',$ret); |
| $ret = iconv($ezin_cfg['encoding'], 'UTF-8', $ret); |
$ret = iconv($ezin_cfg['encoding'], 'UTF-8', $ret); |
| return $ret; |
return $ret; |
| } |
} |
| Riadok 220 if (isset($_GET['wsdl'])) { |
|
| Riadok 222 if (isset($_GET['wsdl'])) { |
|
| <ID>'.$article['article_id'].'</ID> |
<ID>'.$article['article_id'].'</ID> |
| <ID_Author>'.$article['article_author_id'].'</ID_Author> |
<ID_Author>'.$article['article_author_id'].'</ID_Author> |
| <ID_Category>'.$article['article_section_id'].'</ID_Category> |
<ID_Category>'.$article['article_section_id'].'</ID_Category> |
| <Title>'.prepare_str($article['article_title']).'</Title> |
|
| <Text>'.prepare_str($article['article_bodytext']).'</Text> |
|
| <ReleaseDate>'.substr(date('c',$articles[$b]['article_timestamp']),0,19).'</ReleaseDate> |
<ReleaseDate>'.substr(date('c',$articles[$b]['article_timestamp']),0,19).'</ReleaseDate> |
| |
<Title>'.prepare_str($article['article_title']).'</Title> |
| |
<Text><![CDATA['.prepare_str($article['article_bodytext']).']]></Text> |
| </GetArticleResult> |
</GetArticleResult> |
| </GetArticleResponse> |
</GetArticleResponse> |
| </soap:Body> |
</soap:Body> |
Platon Group <platon@platon.sk> http://platon.sk/
|
|