mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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
|
|
@ -147,3 +147,43 @@ function completeRestoreTrash(ret_obj) {
|
|||
alert(ret_obj['message']);
|
||||
location.href = current_url;
|
||||
}
|
||||
|
||||
function getDocumentList() {
|
||||
var params = new Array();
|
||||
var response_tags = ['error','message', 'document_list'];
|
||||
|
||||
exec_xml('document','procDocumentGetList',params, completeGetDocumentList, response_tags);
|
||||
}
|
||||
|
||||
function completeGetDocumentList(ret_obj, response_tags)
|
||||
{
|
||||
var document_list = ret_obj['document_list']['item'];
|
||||
var htmlListBuffer = '';
|
||||
var statusNameList = {"PUBLIC":"Public", "SECRET":"Secret", "PRIVATE":"Private", "TEMP":"Temp"};
|
||||
|
||||
for(var x in document_list)
|
||||
{
|
||||
var objDocument = document_list[x];
|
||||
htmlListBuffer += '<tr>' +
|
||||
'<td class="title">'+ objDocument.variables.title +'</td>' +
|
||||
'<td>'+ objDocument.variables.nick_name +'</td>' +
|
||||
'<td>'+ statusNameList[objDocument.variables.status] +'</td>' +
|
||||
'<td><input type="checkbox" /></td>' +
|
||||
'</tr>';
|
||||
}
|
||||
jQuery('#documentManageListTable>tbody').html(htmlListBuffer);
|
||||
}
|
||||
|
||||
function getModuleList()
|
||||
{
|
||||
var params = new Array();
|
||||
var response_tags = ['error', 'message'];
|
||||
|
||||
exec_xml('document','procModuleAdminGetList',params, completeGetModuleList, response_tags);
|
||||
}
|
||||
|
||||
function completeGetModuleList(ret_obj, response_tags)
|
||||
{
|
||||
console.log(ret_obj['error']);
|
||||
console.log(ret_obj['message']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue