#19745697 trash module devlopement

Document Status DB Column added, and Document module refactoring


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8401 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-05-30 01:25:01 +00:00
parent 4b9faef300
commit 2e86e56bf5
31 changed files with 220 additions and 129 deletions

View file

@ -113,7 +113,7 @@
}
$obj->is_notice = 'N';
$obj->is_secret = in_array($xmlDoc->post->visibility->body, array('public','syndicated'))?'N':'Y';
$obj->status = in_array($xmlDoc->post->visibility->body, array('public','syndicated'))?'PUBLIC':'SECRET';
$obj->title = $xmlDoc->post->title->body;
$obj->content = $xmlDoc->post->content->body;
$obj->password = md5($xmlDoc->post->password->body);
@ -275,7 +275,7 @@
$obj->document_srl = getNextSequence();
$obj->uploaded_count = 0;
$obj->is_notice = 'N';
$obj->is_secret = $val->secret->body=='1'?'Y':'N';
$obj->status = $val->secret->body=='1'?'SECRET':'PUBLIC';
$obj->content = nl2br($val->content->body);
// Extract a title form the bocy