更新至v1.87,更新内容在笔记中查看

This commit is contained in:
小胡
2024-01-10 18:57:07 +08:00
Unverified
parent d88cbb239e
commit ac6ddfbc20
123 changed files with 6426 additions and 423 deletions

View File

@@ -23,7 +23,7 @@ if ($_GET['do'] == 'delete') {
exit(json_encode($return));
} elseif ($_GET['do'] == 'forbidden') {
} elseif ($_GET['do'] == 'forbidden' && $_G['adminid']) {
$sids = $_GET['sids'];
if ($_GET['flag'] == 'forbidden') {
$status = -4;
@@ -35,5 +35,7 @@ if ($_GET['do'] == 'delete') {
} else {
exit(json_encode(array('error' => lang('share_screen_failure'))));
}
}else{
exit(json_encode(array('error' => '非法操作')));
}
?>

View File

@@ -27,7 +27,6 @@ $lang = array (
'extract_password'=>' extract password ',
'been_blocked'=>' blocked ',
'file_been_deleted'=>' file deleted ',
'degree_exhaust'=>' times exhausted ',
'share_stop_sharing1'=>'<p class="text-center">After canceling sharing, this sharing record will be deleted and you will no longer be able to access this sharing link</p> <p class="text center"> are you sure you want to cancel sharing?</p>',
'share_stop_sharing2'=>'<p class="text center"> this sharing record will be blocked and you will no longer be able to access this sharing link</p> <p class="text center"> are you sure to block this sharing</p>',
'share_stop_sharing3'=>'<p class="text center"> access to this shared record will be restored</p> <p class="text center"> are you sure you want to cancel blocking this sharing</p>',

View File

@@ -27,7 +27,6 @@ $lang = array (
'extract_password'=>'提取密码',
'been_blocked'=>'已屏蔽',
'file_been_deleted'=>'文件已删除',
'degree_exhaust'=>'次数用尽',
'share_stop_sharing1'=>'<p class="text-center">取消分享后,该条分享记录将被删除,将无法再访问此分享链接。</p><p class="text-center">你确认要取消分享吗?</p>',
'share_stop_sharing2'=>'<p class="text-center">该条分享记录将被屏蔽,将无法再访问此分享链接。</p><p class="text-center">你确认要屏蔽该条分享吗?</p>',
'share_stop_sharing3'=>'<p class="text-center">该条分享记录将被恢复访问。</p><p class="text-center">你确认要取消屏蔽该条分享吗?</p>',

View File

@@ -271,7 +271,7 @@
jQuery('.list .item-active').each(function() {
sids.push(jQuery(this).data('sid'));
});
jQuery.post('{DZZSCRIPT}?mod=share&op=ajax&do=forbidden', { "sids": sids, "flag": 'forbidden' }, function(json) {
jQuery.post('{MOD_URL}&op=ajax&do=forbidden', { "sids": sids, "flag": 'forbidden' }, function(json) {
if(json.msg == 'success') {
showmessage('{lang share_screen_success}', 'success', 2000, 1);
jQuery('.list .item-active').each(function() {
@@ -294,7 +294,7 @@
if(jQuery(this).data('status') == '-4') sids.push(jQuery(this).data('sid'));
});
if(sids.length) {
jQuery.post('{DZZSCRIPT}?mod=share&op=ajax&do=forbidden', { "sids": sids, "flag": 'allow' }, function(json) {
jQuery.post('{MOD_URL}&op=ajax&do=forbidden', { "sids": sids, "flag": 'allow' }, function(json) {
if(json.msg == 'success') {
showmessage('{lang cancel_shielding_success}', 'success', 2000, 1);
jQuery('.list .item-active').attr('data-status', '0').find('span[node-type=name-tip]').remove();