diff --git a/src/admin/article_allowurl_edit.php b/src/admin/article_allowurl_edit.php
index 657fdaab..1f29c8f9 100644
--- a/src/admin/article_allowurl_edit.php
+++ b/src/admin/article_allowurl_edit.php
@@ -21,7 +21,7 @@ if ($dopost == 'save') {
flock($fp, 3);
fwrite($fp, $allurls);
fclose($fp);
- echo "";
+ echo "";
}
//读出
if (empty($allurls) && filesize($m_file) > 0) {
diff --git a/src/admin/article_source_edit.php b/src/admin/article_source_edit.php
index 14b2fb40..ed42bc1d 100644
--- a/src/admin/article_source_edit.php
+++ b/src/admin/article_source_edit.php
@@ -21,7 +21,7 @@ if ($dopost == 'save') {
flock($fp, 3);
fwrite($fp, $allsource);
fclose($fp);
- echo "";
+ echo "";
}
//读出
if (empty($allsource) && filesize($m_file) > 0) {
diff --git a/src/admin/article_string_mix.php b/src/admin/article_string_mix.php
index a7abcfba..518a65b6 100644
--- a/src/admin/article_string_mix.php
+++ b/src/admin/article_string_mix.php
@@ -22,7 +22,7 @@ if ($dopost == "save") {
flock($fp, 3);
fwrite($fp, $allsource);
fclose($fp);
- echo "";
+ echo "";
}
//读出
if (empty($allsource) && filesize($m_file) > 0) {
diff --git a/src/admin/article_writer_edit.php b/src/admin/article_writer_edit.php
index fbc2e3e0..e5e61975 100644
--- a/src/admin/article_writer_edit.php
+++ b/src/admin/article_writer_edit.php
@@ -21,7 +21,7 @@ if ($dopost == "save") {
flock($fp, 3);
fwrite($fp, $allwriter);
fclose($fp);
- echo "";
+ echo "";
}
//读出
if (empty($allwriter) && filesize($m_file) > 0) {
diff --git a/src/admin/file_manage_control.php b/src/admin/file_manage_control.php
index e6b94389..4aae9ce3 100644
--- a/src/admin/file_manage_control.php
+++ b/src/admin/file_manage_control.php
@@ -54,7 +54,7 @@ else if ($fmdo == "edit") {
if (empty($backurl)) {
ShowMsg("成功保存一个文件", "file_manage_main.php?activepath=$activepath");
} else {
- ShowMsg("成功保存文件", $backurl);
+ ShowMsg("成功保存一个文件", $backurl);
}
exit();
}
diff --git a/src/admin/soft_config.php b/src/admin/soft_config.php
index 62f22e25..a2e25c19 100644
--- a/src/admin/soft_config.php
+++ b/src/admin/soft_config.php
@@ -1,6 +1,6 @@
0 || $dfywboy > 0) $gotojump = 1;
$query = "UPDATE `#@__softconfig` SET `downtype`='$downtype',`gotojump`='$gotojump',`ismoresite`='$ismoresite',`islocal`='$islocal',`sites`='$sites',`moresitedo`='$moresitedo',`dfrank`='$dfrank',`dfywboy`='$dfywboy',`argrange`='$argrange',downmsg='$downmsg' ";
$dsql->ExecuteNoneQuery($query);
- ShowMsg('成功保存参数', 'soft_config.php');
+ ShowMsg('成功保存软件下载设置', 'soft_config.php');
exit();
}
//读取参数
diff --git a/src/admin/soft_edit.php b/src/admin/soft_edit.php
index b7dacf0f..c1b204b5 100644
--- a/src/admin/soft_edit.php
+++ b/src/admin/soft_edit.php
@@ -48,7 +48,7 @@ if ($dopost != 'save') {
if ($ctag->GetName() == 'link') {
$islocal = $ctag->GetAtt('islocal');
if ($islocal != 1) $needmsg = "";
- else $needmsg = '';
+ else $needmsg = '';
$nForm .= "
$needmsg
\r\n";
$newRowStart++;
}
@@ -171,7 +171,7 @@ if ($dopost != 'save') {
if ($servermsg == '') {
$servermsg = '下载地址'.$i;
}
- if ($softurl != 'http://') {
+ if ($softurl != '') {
if ($islocal == 1) $urls .= "{dede:link islocal='$islocal' text='{$servermsg}'} $softurl {/dede:link}\r\n";
else if ($isneed) $urls .= "{dede:link text='$servermsg'} $softurl {/dede:link}\r\n";
else continue;
diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm
index d70a4579..4883e2ab 100644
--- a/src/admin/templets/catalog_add.htm
+++ b/src/admin/templets/catalog_add.htm
@@ -295,6 +295,14 @@
else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
else return "OT";
}
+ function checkSubmit() {
+ if (document.form1.typename.value == "") {
+ alert("栏目名称不能为空");
+ document.form1.typename.focus();
+ return false;
+ }
+ return true;
+ }
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
@@ -341,14 +349,6 @@
tobj.style.display = "none";
}
}
- function checkSubmit() {
- if (document.form1.typename.value == "") {
- alert("栏目名称不能为空");
- document.form1.typename.focus();
- return false;
- }
- return true;
- }
function CheckPathSet() {
var surl = document.getElementById("siteurl");
var sreid = document.getElementById("reid");
diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm
index a0bad0bc..e233925a 100644
--- a/src/admin/templets/catalog_edit.htm
+++ b/src/admin/templets/catalog_edit.htm
@@ -326,6 +326,14 @@
else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
else return "OT";
}
+ function checkSubmit() {
+ if (document.form1.typename.value == "") {
+ alert("栏目名称不能为空");
+ document.form1.typename.focus();
+ return false;
+ }
+ return true;
+ }
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
@@ -372,14 +380,6 @@
tobj.style.display = "none";
}
}
- function checkSubmit() {
- if (document.form1.typename.value == "") {
- alert("栏目名称不能为空");
- document.form1.typename.focus();
- return false;
- }
- return true;
- }
function CheckCross() {
var cross2 = document.getElementById('cross2');
var crossid = document.getElementById('crossid');
diff --git a/src/admin/templets/soft_add.htm b/src/admin/templets/soft_add.htm
index 9f87ab8a..5195be62 100644
--- a/src/admin/templets/soft_add.htm
+++ b/src/admin/templets/soft_add.htm
@@ -24,7 +24,7 @@
var endNum = parseInt(document.form1.picnum.value) + startNum - 1;
if (endNum > 30) endNum = 30;
for (startNum; startNum <= endNum; startNum++) {
- upfield.innerHTML += "";
+ upfield.innerHTML += "";
}
}
function ShowHideAddr() {
@@ -274,9 +274,9 @@
@@ -286,14 +286,14 @@
软件大小: |
-
+ |
-
+
|
需会员权限: |
@@ -320,10 +320,11 @@
|
|
+
+
+
+
+ |
+
+
-
-
-
-
+
+
+
+
|
-
-
-
-
- |
-
diff --git a/src/admin/templets/soft_config.htm b/src/admin/templets/soft_config.htm
index 620fbc05..6f18c6e9 100644
--- a/src/admin/templets/soft_config.htm
+++ b/src/admin/templets/soft_config.htm
@@ -18,23 +18,18 @@
软件下载设置 |
-
-
- 软件模型的附件下载方式都必须链接到中转页,否则无效
- |
-
链接显示方式: |
-
-
+
+
|
- 附件下载方式: |
+ 软件下载方式: |
-
-
+
+
|
@@ -54,8 +49,8 @@
镜像处理方式: |
-
-
+
+
|
@@ -84,16 +79,16 @@
参数限制方式: |
-
-
+
+
|
镜像服务器列表: |
-
-
-
+
+
+
|
@@ -116,9 +111,18 @@
diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm
index 95ab6d0c..bf224520 100644
--- a/src/admin/templets/soft_edit.htm
+++ b/src/admin/templets/soft_edit.htm
@@ -24,7 +24,7 @@
var endNum = parseInt(document.form1.picnum.value) + startNum;
if (endNum > 30) endNum = 30;
for (startNum; startNum < endNum; startNum++) {
- upfield.innerHTML += "";
+ upfield.innerHTML += "软件地址" + startNum + ":地址名称: ";
}
}
function ShowHideAddr() {
@@ -280,7 +280,7 @@
|