mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
17523934 * modules/a* ~ d* x.js 교체
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5164 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
635d54bf6f
commit
75c211f98e
28 changed files with 83 additions and 142 deletions
|
|
@ -35,7 +35,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($comment_list as $no => $val)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<tr>
|
||||
<td rowspan="2" class="number center">{$no}</td>
|
||||
<td colspan="2"><a href="./?mid={$module_list[$val->module_srl]->mid}" onclick="window.open(this.href);return false">{htmlspecialchars($module_list[$val->module_srl]->browser_title)}</a> </td>
|
||||
<td class="nowrap"><span class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</span></td>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<p>{$lang->about_comment_count}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<tr>
|
||||
<td class="right" colspan="2">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_save}"/></span>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($comment_list as $no => $oComment)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<tr>
|
||||
<td class="number center">{$no}</td>
|
||||
<td><input type="checkbox" name="cart" value="{$oComment->get('comment_srl')}" /> {$oComment->getSummary(100)}</td>
|
||||
<td><span class="member_{$oComment->getMemberSrl()}">{$oComment->getNickName()}</span></td>
|
||||
|
|
|
|||
|
|
@ -1,31 +1,14 @@
|
|||
function doCheckAll(bToggle) {
|
||||
var fo_obj = xGetElementById('fo_list');
|
||||
if(typeof(bToggle) == "undefined") bToggle = false;
|
||||
for(var i=0;i<fo_obj.length;i++) {
|
||||
if(fo_obj[i].name == 'cart'){
|
||||
if( !fo_obj[i].checked || !bToggle) fo_obj[i].checked = true; else fo_obj[i].checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function doCancelDeclare() {
|
||||
var fo_obj = xGetElementById('fo_list');
|
||||
var comment_srl = new Array();
|
||||
if(fo_obj.cart.length) {
|
||||
for(var i=0;i<fo_obj.cart.length;i++) {
|
||||
if(fo_obj.cart[i].checked) comment_srl[comment_srl.length] = fo_obj.cart[i].value;
|
||||
}
|
||||
} else {
|
||||
if(fo_obj.cart.checked) comment_srl[comment_srl.length] = fo_obj.cart.value;
|
||||
}
|
||||
jQuery('#fo_list input[name=cart]:checked').each(function() {
|
||||
comment_srl[comment_srl.length] = jQuery(this).val();
|
||||
});
|
||||
|
||||
if(comment_srl.length<1) return;
|
||||
|
||||
var params = new Array();
|
||||
params['comment_srl'] = comment_srl.join(',');
|
||||
|
||||
exec_xml('comment','procCommentAdminCancelDeclare', params, completeCancelDeclare);
|
||||
}
|
||||
|
||||
function completeCancelDeclare(ret_obj) {
|
||||
location.reload();
|
||||
exec_xml('comment','procCommentAdminCancelDeclare', params, function() { location.reload(); });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue