Browse Source

微调整

tags/6.2.7
叙述、别离 1 year ago
parent
commit
8102cf78e6
9 changed files with 16 additions and 20 deletions
  1. +1
    -1
      src/admin/action_search.php
  2. +1
    -1
      src/admin/content_att.php
  3. +1
    -1
      src/admin/friendlink_type.php
  4. +6
    -6
      src/admin/js/indexbody.js
  5. +3
    -6
      src/admin/js/list.js
  6. +1
    -2
      src/admin/js/user.js
  7. +1
    -1
      src/admin/member_rank.php
  8. +1
    -1
      src/admin/member_type.php
  9. +1
    -1
      src/install/install.html

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

@@ -1,6 +1,6 @@
<?php
/**
* 检索操作
* 搜索结果
*
* @version $id:action_search.php 8:26 2010年7月12日 tianya $
* @package DedeBIZ.Administrator


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

@@ -22,7 +22,7 @@ if ($dopost == "save") {
$query = "UPDATE `#@__arcatt` SET `attname`='$attname',`sortid`='$sortid' WHERE att='$att' ";
$dsql->ExecuteNoneQuery($query);
}
echo "<script> alert('成功更新自定文档义属性表'); </script>";
echo "<script>alert('成功更新自定文档义属性表');</script>";
}
include DedeInclude('templets/content_att.htm');
?>

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

@@ -35,7 +35,7 @@ if ($dopost == "save") {
$dsql->ExecuteNoneQuery($query);
}
header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "<script> alert('成功更新友情链接网站分类表'); </script>";
echo "<script>alert('成功更新友情链接网站分类表');</script>";
}
include DedeInclude('templets/friendlink_type.htm');
?>

+ 6
- 6
src/admin/js/indexbody.js View File

@@ -32,12 +32,12 @@ function DedeCopyToClipboard(text) {
}
}
$(function () {
$.get("index_testenv.php", function (data) {
$.get("index_testenv.php",function (data) {
if (data !== '') {
$("#body-tips").html(data);
}
});
$.get("index_body.php?dopost=get_articles", function (data) {
$.get("index_body.php?dopost=get_articles",function (data) {
if (data !== '') {
$("#system-word").html(data);
}
@@ -72,7 +72,7 @@ function ViewDedeBIZ() {
</table>`);
}
function LoadServer() {
$.get("index_body.php?dopost=system_info", function (data) {
$.get("index_body.php?dopost=system_info",function (data) {
let rsp = JSON.parse(data);
if (rsp.code === 200) {
if (rsp.result.core.code === 200) {
@@ -128,7 +128,7 @@ Date.prototype.Format = function (fmt) { //author: meizz
return fmt;
}
function LoadStat() {
$.get("index_body.php?dopost=get_statistics", function (data) {
$.get("index_body.php?dopost=get_statistics",function (data) {
try {
let rsp = JSON.parse(data);
if (rsp.code == 200) {
@@ -140,7 +140,7 @@ function LoadStat() {
$("#today_uv").html(tuv);
$("#today_ip").html(tip);
$("#today_vv").html(tvv);
$.get("index_body.php?dopost=get_statistics&sdate=-1", function (data) {
$.get("index_body.php?dopost=get_statistics&sdate=-1",function (data) {
let rsp = JSON.parse(data);
if (rsp.code == 200) {
$("#total_pv").html(parseInt(rsp.result.pv) + tpv);
@@ -158,7 +158,7 @@ function LoadStat() {
d.setDate(d.getDate() - 1);
var s = d.Format("yyyy-MM-dd");
s = s.replaceAll("-", "");
$.get("index_body.php?dopost=get_statistics&sdate=" + s, function (data) {
$.get("index_body.php?dopost=get_statistics&sdate=" + s,function (data) {
try {
let rsp = JSON.parse(data);
if (rsp.code == 200) {


+ 3
- 6
src/admin/js/list.js View File

@@ -65,10 +65,8 @@ function getCheckboxItem()
{
var allSel="";
if (document.form2.arcID.value) return document.form2.arcID.value;
for (i=0;i<document.form2.arcID.length;i++)
{
if (document.form2.arcID[i].checked)
{
for (i=0;i<document.form2.arcID.length;i++) {
if (document.form2.arcID[i].checked) {
if (allSel=="")
allSel=document.form2.arcID[i].value;
else
@@ -82,8 +80,7 @@ function getOneItem()
{
var allSel="";
if (document.form2.arcID.value) return document.form2.arcID.value;
for (i=0;i<document.form2.arcID.length;i++)
{
for (i=0;i<document.form2.arcID.length;i++) {
if (document.form2.arcID[i].checked) {
allSel = document.form2.arcID[i].value;
break;


+ 1
- 2
src/admin/js/user.js View File

@@ -12,8 +12,7 @@ function getCheckboxItem()
{
var allSel="";
if (document.form2.mid.value) return document.form2.mid.value;
for (i=0;i<document.form2.mid.length;i++)
{
for (i=0;i<document.form2.mid.length;i++) {
if (document.form2.mid[i].checked) {
if (allSel=="")
allSel=document.form2.mid[i].value;


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

@@ -37,7 +37,7 @@ if ($dopost == 'save') {
$dsql->ExecuteNoneQuery($inquery);
}
}
echo "<script> alert('成功更新会员等级表'); </script>";
echo "<script>alert('成功更新会员等级表');</script>";
}
if ($dopost == 'del') {
$dsql->ExecuteNoneQuery("DELETE FROM `#@__arcrank` WHERE id='$id' AND `rank`<>10");


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

@@ -39,7 +39,7 @@ if ($dopost == "save") {
$dsql->ExecuteNoneQuery($query);
}
header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "<script> alert('成功更新会员等级分类'); </script>";
echo "<script>alert('成功更新会员等级分类');</script>";
}
$arcranks = array();
$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank`>10 ");


+ 1
- 1
src/install/install.html View File

@@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>安装DedeV<?php echo $cfg_version_detail;?></title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="shortcut icon" href="../static/web/img/favicon.ico">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/popper.min.js"></script>


Loading…
Cancel
Save