mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 03:22:10 +09:00
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:
parent
5385ebb524
commit
9acd474c52
37 changed files with 1125 additions and 830 deletions
|
|
@ -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.
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue