Browse Source

调整

tags/6.2.7
叙述、别离 1 year ago
parent
commit
4cb0e15762
4 changed files with 8 additions and 8 deletions
  1. +1
    -1
      src/admin/diy_list.php
  2. +1
    -1
      src/admin/task_do.php
  3. +5
    -5
      src/apps/diy.php
  4. +1
    -1
      src/apps/feedback.php

+ 1
- 1
src/admin/diy_list.php View File

@@ -86,7 +86,7 @@ if ($action == 'post') {
$query = "SELECT * FROM {$diy->table} WHERE id=$id";
$row = $dsql->GetOne($query);
if (!is_array($row)) {
showmsg("您浏览的记录不存在或未审核", '-1');
showmsg("您浏览的记录不存在或未审核", '-1');
exit();
}
$postform = $diy->getForm('edit', $row, 'admin');


+ 1
- 1
src/admin/task_do.php View File

@@ -91,7 +91,7 @@ if ($dopost == 'makeindex') {
exit();
} else {
$jumpurl = GetNextUrl();
ShowMsg("完成首页更新,现在跳转其它更新任务", $jumpurl, 0, 500);
ShowMsg("完成首页更新,正在前往其它更新任务", $jumpurl, 0, 500);
exit();
}
}


+ 5
- 5
src/apps/diy.php View File

@@ -34,7 +34,7 @@ if ($action == 'post') {
}
$diyform = $dsql->getOne("SELECT * FROM `#@__diyforms` WHERE diyid='$diyid' ");
if (!is_array($diyform)) {
showmsg('自定义表单不存在', '-1');
showmsg('表单不存在,程序返回', '-1');
exit();
}
$addvar = $addvalue = '';
@@ -69,7 +69,7 @@ if ($action == 'post') {
if ($diy->public == 2)
{
$goto = "diy.php?action=list&diyid={$diy->diyid}";
$bkmsg = '发布成功,现在跳转表单列表页';
$bkmsg = '发布成功,正在前往表单列表';
} else {
$goto = !empty($cfg_cmspath) ? $cfg_cmspath : '/';
$bkmsg = '发布成功,请等待管理员处理';
@@ -82,7 +82,7 @@ if ($action == 'post') {
}
} else if ($action == 'list') {
if (empty($diy->public)) {
ShowMsg('后台关闭前台浏览', 'javascript:;');
ShowMsg('表单已关闭前台浏览', 'javascript:;');
exit();
}
include_once DEDEINC.'/datalistcp.class.php';
@@ -100,7 +100,7 @@ if ($action == 'post') {
$datalist->Display();
} else if ($action == 'view') {
if (empty($diy->public)) {
showMsg('后台关闭前台浏览', 'javascript:;');
showMsg('表单已关闭前台浏览', 'javascript:;');
exit();
}
if (empty($id)) {
@@ -115,7 +115,7 @@ if ($action == 'post') {
$row = $dsql->GetOne($query);
if (!is_array($row)) {
showmsg('您浏览的记录不存在或未审核', '-1');
showmsg('您浏览的记录不存在或未审核', '-1');
exit();
}
$fieldlist = $diy->getFieldList();


+ 1
- 1
src/apps/feedback.php View File

@@ -238,7 +238,7 @@ else if ($action == 'send') {
} else {
echo json_encode(array(
"code" => 200,
"msg" => "成功发表评论,现在跳转评论页面",
"msg" => "成功发表评论,正在前往评论页面",
"data" => "ok",
));
}


Loading…
Cancel
Save