mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
trackback 어드민 페이지에서 상태 다중 토글 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2562 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
43066ad7ec
commit
c4c334b318
2 changed files with 15 additions and 1 deletions
12
modules/trackback/tpl/js/trackback_admin.js
Normal file
12
modules/trackback/tpl/js/trackback_admin.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function toggleAll() {
|
||||
var fo_obj = xGetElementById('fo_list');
|
||||
for(var i=0;i<fo_obj.length;i++) {
|
||||
if(fo_obj[i].name == 'cart'){
|
||||
if( fo_obj[i].checked == true ){
|
||||
fo_obj[i].checked = false;
|
||||
} else {
|
||||
fo_obj[i].checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/insert_config.xml")-->
|
||||
<!--%import("js/trackback_admin.js")-->
|
||||
|
||||
<h3>{$lang->trackback} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
||||
|
|
@ -27,7 +28,7 @@
|
|||
Total <strong>{number_format($total_count)}</strong>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
|
||||
</div>
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 목록 -->
|
||||
|
|
@ -37,6 +38,7 @@
|
|||
<th scope="col">{$lang->no}</th>
|
||||
<th scope="col">
|
||||
<div class="nowrap">
|
||||
<input type="checkbox" onclick="toggleAll(); return false;" />
|
||||
<select name="module_srl" class="mid_list" id="module_srl">
|
||||
<option value="">{$lang->module}</option>
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue