issue 70 document, comment, trackback module UI change.

But not finished yet


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8639 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-07-26 05:39:03 +00:00
parent 5385ebb524
commit 9acd474c52
37 changed files with 1125 additions and 830 deletions

View file

@ -1693,6 +1693,28 @@ class documentController extends document {
$this->add('document_srl', $obj->document_srl);
}
/**
* @brief return Document List for exec_xml
**/
function procDocumentGetList()
{
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
// Taken from a list of selected sessions
$flagList = $_SESSION['document_management'];
if(count($flagList)) {
foreach($flagList as $key => $val) {
if(!is_bool($val)) continue;
$documentSrlList[] = $key;
}
}
if(count($documentSrlList)) {
$oDocumentModel = &getModel('document');
$documentList = $oDocumentModel->getDocuments($documentSrlList, $this->grant->is_admin);
}
$this->add('document_list', $documentList);
}
/**
* @brief for old version, comment allow status check.
**/