mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Also apply iframe solution to dispCommentDeclare etc.
This commit is contained in:
parent
bd3e642d37
commit
1d558204d1
3 changed files with 22 additions and 12 deletions
|
|
@ -18,10 +18,18 @@
|
|||
};
|
||||
</script>
|
||||
<style>
|
||||
.x.popup { width: 100vw; height: 100vh; display: flex; flex-direction: column; }
|
||||
.x.popup > form { width: 100vw; height: 100vh; display: flex; flex-direction: column; margin: 0; }
|
||||
.x.popup {
|
||||
width: 100vw; height: 100vh;
|
||||
display: flex; flex-direction: column;
|
||||
}
|
||||
.x.popup > form {
|
||||
width: 100vw; height: 100vh;
|
||||
display: flex; flex-direction: column;
|
||||
margin: 0 !important;
|
||||
}
|
||||
.x_modal-header { flex: 0 0 auto; }
|
||||
.x_modal-body { flex: 1; overflow: scroll; }
|
||||
.x_modal-footer { padding-bottom: 24px !important; }
|
||||
</style>
|
||||
@else
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -12,8 +12,9 @@
|
|||
<input type="hidden" name="xe_validator_id" value="modules/comment/tpl/1" />
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->improper_comment_declare} <!--@if($type == 'cancel')-->{$lang->cmd_cancel}<!--@end--></h1>
|
||||
<a class="close_window" href="javascript:window.close()">×</a>
|
||||
</div>
|
||||
<div class="x_modal-body x_form-horizontal" style="max-height:none">
|
||||
<div class="x_modal-body">
|
||||
<blockquote>
|
||||
<section class="target_article">
|
||||
<h1>{$lang->replies}</h1>
|
||||
|
|
@ -32,11 +33,11 @@
|
|||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<div class="x_modal-footer">
|
||||
<span class="x_btn-group x_pull-right">
|
||||
<button type="submit" class="x_btn x_btn-primary"><!--@if($type == 'cancel')-->{$lang->cmd_cancel_declare}<!--@else-->{$lang->cmd_submit}<!--@end--></button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_modal-footer">
|
||||
<span class="x_btn-group x_pull-right">
|
||||
<button type="submit" class="x_btn x_btn-primary"><!--@if($type == 'cancel')-->{$lang->cmd_cancel_declare}<!--@else-->{$lang->cmd_submit}<!--@end--></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/comment/tpl/1'">
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->cmd_spammer}</h1>
|
||||
<a class="close_window" href="javascript:window.close()">×</a>
|
||||
</div>
|
||||
|
||||
<form action="./" method="post" id="fo_management" onsubmit="return doSpammerManage();">
|
||||
|
|
@ -79,14 +80,14 @@ function progressSpammerManage( data ) {
|
|||
setTimeout( function() {
|
||||
var info = data.progress + '%';
|
||||
jQuery('#progressBar').width(data.progress + '%');
|
||||
|
||||
|
||||
if( data.total_count != undefined && parseInt( data.total_count ) > 0 ) {
|
||||
var doc_count = parseInt( data.total_count ) - parseInt( data.remain_count );
|
||||
info = info + ' (' + doc_count + ' / ' + data.total_count + ')';
|
||||
}
|
||||
|
||||
|
||||
jQuery('#progress-info').text( info );
|
||||
|
||||
|
||||
if(data.remain_count <= 0 || bSpammerManageProc === false) {
|
||||
jQuery('.stop').hide();
|
||||
if(data.remain_count <= 0) {
|
||||
|
|
@ -96,7 +97,7 @@ function progressSpammerManage( data ) {
|
|||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
doSpammerManage( data );
|
||||
}, 500 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue