Browse Source

调整

tags/6.3.0
叙述、别离 1 year ago
parent
commit
31e267c250
5 changed files with 9 additions and 9 deletions
  1. +4
    -4
      src/admin/makehtml_homepage.php
  2. +1
    -1
      src/admin/sys_data_replace.php
  3. +2
    -2
      src/admin/templets/sys_data_replace.htm
  4. +1
    -1
      src/theme/dedebiz/article_default.htm
  5. +1
    -1
      src/theme/dedebiz/article_default_sg.htm

+ 4
- 4
src/admin/makehtml_homepage.php View File

@@ -29,28 +29,28 @@ if ($dopost == "view") {
//设定dedebiz admin密码
if ($dedebiz_admin == "" || $dedebiz_admin !== $re_dedebiz_admin) {
echo "<link rel=\"stylesheet\" href=\"/static/web/css/bootstrap.min.css\"><style>.modal {position:static}</style>";
echo "<div class=\"alert alert-warning\">DedeBIZ操作密码为空或两次指定的密码不符</div><br>";
echo "<div class=\"alert alert-warning\">密码不能为空或密码输入错误</div><br>";
$client->Close();
exit;
}
$data = $client->AdminPWDCreate($dedebiz_admin);
if ($data->data != "ok") {
echo "<link rel=\"stylesheet\" href=\"/static/web/css/bootstrap.min.css\"><style>.modal {position:static}</style>";
echo "<div class=\"alert alert-warning\">DedeBIZ设定操作密码失败:${$data}</div><br>";
echo "<div class=\"alert alert-warning\">密码失败:${$data}</div><br>";
$client->Close();
exit;
}
} else {
if ($dedebiz_admin == "") {
echo "<link rel=\"stylesheet\" href=\"/static/web/css/bootstrap.min.css\"><style>.modal {position:static}</style>";
echo "<div class=\"alert alert-warning\">DedeBIZ操作密码为空</div><br>";
echo "<div class=\"alert alert-warning\">密码不能为空</div><br>";
$client->Close();
exit;
}
$data = $client->AdminSetIndexLockState($dedebiz_admin, $lockindex);
if ($data->data != "ok") {
echo "<link rel=\"stylesheet\" href=\"/static/web/css/bootstrap.min.css\"><style>.modal {position:static}</style>";
echo "<div class=\"alert alert-warning\">DedeBIZ操作密码失败,填写正确的操作密码</div><br>";
echo "<div class=\"alert alert-warning\">密码输入错误,请填写正确的密码</div><br>";
$client->Close();
exit;
}


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

@@ -23,7 +23,7 @@ else if ($action == 'getfields') {
AjaxHead();
$dsql->GetTableFields($exptable);
echo "<div class='alert alert-info'>";
echo "<p>请选择".$exptable."表下方替换字段</p>";
echo "<p>请选择".$exptable."表下字段</p>";
while ($row = $dsql->GetFieldObject()) {
echo "<a href=\"javascript:pf('{$row->name}')\">".$row->name."</a> ";
}


+ 2
- 2
src/admin/templets/sys_data_replace.htm View File

@@ -21,11 +21,11 @@
</tr>
<tr>
<td colspan="2">
<div class="alert alert-warning mb-0">数据库字段批量替换数据,操作不当会导致数据出错</div>
<div class="alert alert-warning mb-0">数据库字段批量替换,修改不当会导致数据出错</div>
</td>
</tr>
<tr>
<td width="260">选择数据表与字段:</td>
<td width="260">数据表与字段:</td>
<td>
<?php
$dsql->SetQuery("Show Tables");


+ 1
- 1
src/theme/dedebiz/article_default.htm View File

@@ -36,7 +36,7 @@
<span><i class="fa fa-user mr-1"></i>{dede:field.writer/}</span>
<span><i class="fa fa-eye mr-1"></i><script src="{dede:global.cfg_phpurl/}/count.php?view=yes&aid={dede:field.id/}&mid={dede:field name='mid'/}"></script>次</span>
</div>
<div class="alert alert-warning my-3">您会看到这个提示,因为系统无法识别某栏目的模型信息或者您新建模型后,没为模型设计单独的模板,不同模型的文档浏览页的模板为:article_模型名字标识.htm更多的信息您可以在栏目模型管理的地方查看</div>
<div class="alert alert-warning my-3">您会看到这个提示,因为某个栏目无法应用模板或您的模型没对应模板,不同模型的文档浏览页的模板为:article_模型名字标识.htm更多的信息,您可以在栏目修改查看</div>
{dede:fieldlist}
<table class="table">
<tr>


+ 1
- 1
src/theme/dedebiz/article_default_sg.htm View File

@@ -37,7 +37,7 @@
<span><i class="fa fa-user mr-1"></i>{dede:field.writer/}</span>
<span><i class="fa fa-eye mr-1"></i><script src="{dede:global.cfg_phpurl/}/count.php?view=yes&aid={dede:field.id/}&mid={dede:field name='mid'/}"></script>次</span>
</div>
<div class="alert alert-info my-3">您会看到这个提示,因为系统无法识别某栏目的模型信息或者您新建模型后,没为模型设计单独的模板,不同模型的文档浏览页的模板为:article_模型名字标识.htm更多的信息您可以在栏目模型管理的地方查看</div>
<div class="alert alert-warning my-3">您会看到这个提示,因为某个栏目无法应用模板或您的模型没对应模板,不同模型的文档浏览页的模板为:article_模型名字标识.htm更多的信息,您可以在栏目修改查看</div>
{dede:fieldlist}
<table class="table">
<tr>


Loading…
Cancel
Save