mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1060 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e5cc1d7eb0
commit
99021b62fa
6 changed files with 40 additions and 1 deletions
|
|
@ -4,6 +4,18 @@
|
|||
* @brief board 모듈의 javascript
|
||||
**/
|
||||
|
||||
/* 관리자가 카트 선택시 세션에 넣음 */
|
||||
function doAddCart(obj) {
|
||||
var document_srl = obj.value;
|
||||
var check_flag = obj.checked?'add':'remove';
|
||||
|
||||
var params = new Array();
|
||||
params["document_srl"] = document_srl;
|
||||
params["check_flag"] = check_flag;
|
||||
|
||||
exec_xml("document","procDocumentAddCart", params, null);
|
||||
}
|
||||
|
||||
/* 글쓰기 작성후 */
|
||||
function completeDocumentInserted(ret_obj) {
|
||||
var error = ret_obj['error'];
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($logged_info->is_admin=='Y')-->
|
||||
<!--@if($logged_info->manager =='Y')-->
|
||||
<a href="{getUrl('act','dispBoardAdminBoardInfo')}">[{$lang->cmd_management}]</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
@ -86,6 +86,9 @@
|
|||
<!--@end-->
|
||||
|
||||
<td>
|
||||
<!--@if($grant->manager)-->
|
||||
<input type="checkbox" value="{$val->document_srl}" onclick="doAddCart(this)" <!--@if($val->checked)-->checked="true"<!--@end--> />
|
||||
<!--@end-->
|
||||
<!--@if($grant->view)-->
|
||||
<a href="{getUrl('document_srl',$val->document_srl)}">{$val->title}</a>
|
||||
<!--@else-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue