diff --git a/src/admin/archives_do.php b/src/admin/archives_do.php index 24a30496..f554a649 100644 --- a/src/admin/archives_do.php +++ b/src/admin/archives_do.php @@ -128,35 +128,35 @@ else if ($dopost == "uploadLitpic") { $upfile = AdminUpload('litpic', 'imagelit', 0, false); if ($upfile == '-1') { $msg = ""; + parent.document.getElementById('uploadwait').style.display = 'none'; + alert('您没指定要上传文件或文件大小超过限制'); + "; } else if ($upfile == '-2') { $msg = ""; + parent.document.getElementById('uploadwait').style.display = 'none'; + alert('上传文件失败,请检查原因'); + "; } else if ($upfile == '0') { $msg = ""; + parent.document.getElementById('uploadwait').style.display = 'none'; + alert('文件类型不正确'); + "; } else { if (!empty($cfg_uplitpic_cut) && $cfg_uplitpic_cut == 'N') { $msg = ""; + parent.document.getElementById('uploadwait').style.display = 'none'; + parent.document.getElementById('picname').value = '{$upfile}'; + if (parent.document.getElementById('divpicview')) + { + parent.document.getElementById('divpicview').style.width = '150px'; + parent.document.getElementById('divpicview').innerHTML = \"\"; + } + "; } else { $msg = ""; + parent.document.getElementById('uploadwait').style.display = 'none'; + window.open('imagecut.php?f=picname&isupload=yes&file={$upfile}', 'popUpImagesWin', 'scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=150, top=50'); + "; } } echo $msg; @@ -169,7 +169,7 @@ else if ($dopost == "commendArchives") { $qstr = $aid; } if ($qstr == '') { - ShowMsg("参数无效", $ENV_GOBACK_URL); + ShowMsg("操作失败", $ENV_GOBACK_URL); exit(); } $arcids = preg_replace("#[^0-9,]#", '', preg_replace("#`#", ',', $qstr)); @@ -217,7 +217,7 @@ else if ($dopost == "checkArchives") { require_once(DEDEADMIN."/inc/inc_archives_functions.php"); if (!empty($aid) && empty($qstr)) $qstr = $aid; if ($qstr == '') { - ShowMsg("参数无效", $ENV_GOBACK_URL); + ShowMsg("操作失败", $ENV_GOBACK_URL); exit(); } $arcids = preg_replace("#[^0-9,]#", '', preg_replace("#`#", ',', $qstr)); @@ -257,7 +257,7 @@ else if ($dopost == "checkArchives") { echo "
"; echo ""; echo ""; - echo ""; + echo "
"; ?> @@ -266,8 +266,8 @@ else if ($dopost == "checkArchives") { @@ -332,7 +332,7 @@ else if ($dopost == 'return') { if (!empty($aid) && empty($qstr)) $qstr = $aid; if ($qstr == '') { - ShowMsg("参数无效", "recycling.php"); + ShowMsg("操作失败", "recycling.php"); exit(); } $qstrs = explode('`', $qstr); @@ -353,7 +353,7 @@ else if ($dopost == "delArchives") { $qstr = $aid; } if ($qstr == '') { - ShowMsg("参数无效", $ENV_GOBACK_URL); + ShowMsg("操作失败", $ENV_GOBACK_URL); exit(); } $qstrs = explode('`', $qstr); @@ -390,7 +390,7 @@ else if ($dopost == 'clear') { if ($fmdo == 'yes') { if (!empty($aid) && empty($qstr)) $qstr = $aid; if ($qstr == '') { - ShowMsg("参数无效", "recycling.php"); + ShowMsg("操作失败", "recycling.php"); exit(); } $qstrs = explode('`', $qstr); @@ -441,7 +441,7 @@ else if ($dopost == 'del') { if ($fmdo == 'yes') { if (!empty($aid) && empty($qstr)) $qstr = $aid; if ($qstr == '') { - ShowMsg("参数无效", "recycling.php"); + ShowMsg("操作失败", "recycling.php"); exit(); } $qstrs = explode('`', $qstr); @@ -481,7 +481,7 @@ else if ($dopost == 'quickEdit') { echo ""; echo ""; echo ""; - echo "
目标栏目:
文档id: -
- 移动栏目必须和选定文档栏目类型一致,否则自动过滤不相关文档 +

(移动栏目和选定文档栏目类型一致,否则过滤不相关文档)

+
"; + echo "
"; ?> @@ -535,7 +535,7 @@ else if ($dopost == 'quickEdit') { } ?> - 需要金币:" class="admin-input-xs"> + @@ -549,7 +549,7 @@ else if ($dopost == 'quickEdit') {
所属栏目:
-
+ "; echo ""; echo ""; - echo ""; + echo "
"; ?> @@ -786,7 +786,7 @@ else if ($dopost == 'attsDlg') {
属性:
- +