git-svn-id: http://xe-core.googlecode.com/svn/trunk@1491 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-29 04:14:06 +00:00
parent efa943ac26
commit 6221f0a444
14 changed files with 68 additions and 46 deletions

View file

@ -4,6 +4,6 @@
<actions>
<action name="dispTrackbackAdminList" type="view" admin_index="true" standalone="true" />
<action name="procTrackbackAdminDeleteChecked" type="controller" standalone="true" />
<action name="procTrackbackReceive" type="controller" standalone="true" />
<action name="trackback" type="controller" standalone="true" />
</actions>
</module>

View file

@ -38,11 +38,12 @@
/**
* @brief 엮인글 입력
**/
function procTrackbackReceive() {
function trackback() {
Context::setRequestMethod("XMLRPC");
$obj = Context::gets('document_srl','url','title','excerpt');
if(!$obj->document_srl) return $this->stop('fail');
if(!$obj->document_srl || !$obj->url || !$obj->title || !$obj->excerpt) return $this->stop('fail');
return $this->insertTrackback($obj);
}