mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1526 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d0df5dc120
commit
d547ce7d3a
1 changed files with 4 additions and 1 deletions
|
|
@ -297,6 +297,9 @@
|
||||||
$content = getXmlRpcFailure(1, 'post not founded');
|
$content = getXmlRpcFailure(1, 'post not founded');
|
||||||
printContent($content);
|
printContent($content);
|
||||||
} else {
|
} else {
|
||||||
|
$oContext = &Context::getInstance();
|
||||||
|
|
||||||
|
|
||||||
$posts = array();
|
$posts = array();
|
||||||
foreach($output->data as $key => $val) {
|
foreach($output->data as $key => $val) {
|
||||||
$post = null;
|
$post = null;
|
||||||
|
|
@ -304,7 +307,7 @@
|
||||||
$post->userid = $val->user_id;
|
$post->userid = $val->user_id;
|
||||||
$post->mt_allow_pings = 0;
|
$post->mt_allow_pings = 0;
|
||||||
$post->mt_allow_comments = $val->allow_comment=='Y'?1:0;
|
$post->mt_allow_comments = $val->allow_comment=='Y'?1:0;
|
||||||
$post->description = htmlspecialchars($val->content);
|
$post->description = htmlspecialchars($oContext->transContent($val->content));
|
||||||
$post->postid = $val->document_srl;
|
$post->postid = $val->document_srl;
|
||||||
$post->title = htmlspecialchars($val->title);
|
$post->title = htmlspecialchars($val->title);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue