위키XE의 공헌자 및 댓글 정상적으로 나오도록 수정하고 히스토리를 일단 구현하여 보는 기능은 가능하도록 개선. (diff는 차후에)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-28 01:32:42 +00:00
parent 06d59f203c
commit 78b9eddba9
11 changed files with 75 additions and 45 deletions

View file

@ -919,5 +919,12 @@
$output = executeQueryArray('document.getHistories', $args);
return $output->data;
}
function getHistory($history_srl)
{
$args->history_srl = $history_srl;
$output = executeQuery('document.getHistory', $args);
return $output->data;
}
}
?>

View file

@ -3,11 +3,7 @@
<table name="document_histories" />
</tables>
<columns>
<column name="history_srl" />
<column name="nick_name" />
<column name="member_srl" />
<column name="regdate" />
<column name="ipaddress" />
<column name="*" />
</columns>
<conditions>
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />

View file

@ -0,0 +1,11 @@
<query id="getHistories" action="select">
<tables>
<table name="document_histories" />
</tables>
<columns>
<column name="*" />
</columns>
<conditions>
<condition operation="equal" column="history_srl" var="history_srl" filter="number" notnull="notnull" />
</conditions>
</query>