From 7212d9180ce96680ce5b6ee2e057b5d288d9d816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?=
<93301500+xushubieli@users.noreply.github.com>
Date: Fri, 21 Apr 2023 18:20:47 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/admin/mychannel_edit.php | 26 +++++++++++++-------------
src/user/index_do.php | 2 +-
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/admin/mychannel_edit.php b/src/admin/mychannel_edit.php
index 5d0c6e78..a24037f0 100644
--- a/src/admin/mychannel_edit.php
+++ b/src/admin/mychannel_edit.php
@@ -419,10 +419,10 @@ if ($dopost == "show") {
require_once(DEDEINC."/typelink/typelink.class.php");
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0, 0, $mid);
- $forms .= "
栏目:
";
$forms .= "
";
} else if ($mainfield == 'iscommend') {
$forms .= "
";
@@ -445,10 +445,10 @@ if ($dopost == "show") {
require_once(DEDEINC."/typelink/typelink.class.php");
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0, 0, $mid);
- $forms .= "
栏目:
";
$forms .= "
";
$addonstring .= 'typeid:int,';
} elseif ($addonfield == 'senddate') {
@@ -482,22 +482,22 @@ if ($dopost == "show") {
$type = $typearr[$k];
$tmp = $name.':'.$type;
if (in_array($type, $intarr)) {
- $forms .= "
$itemname : 到
";
+ $forms .= "$itemname : 到
";
} else if (in_array($type, $textarr)) {
$forms .= "$itemname :
";
} else if ($type == 'select') {
$values = explode(',', $valuearr[$k]);
if (is_array($values) && !empty($values)) {
- $forms .= "
$itemname :
";
}
} else if ($type == 'radio') {
$values = explode(',', $valuearr[$k]);
if (is_array($values) && !empty($values)) {
- $forms .= "
$itemname : ";
+ $forms .= "$itemname :
";
foreach ($values as $value) {
$forms .= "";
}
@@ -505,13 +505,13 @@ if ($dopost == "show") {
} else if ($type == 'checkbox') {
$values = explode(',', $valuearr[$k]);
if (is_array($values) && !empty($values)) {
- $forms .= "
$itemname : ";
+ $forms .= "$itemname : ";
foreach ($values as $value) {
- $forms .= "";
+ $forms .= "
";
}
}
} elseif ($type == 'datetime') {
- $forms .= "
开始时间:
";
+ $forms .= "开始时间:
";
$forms .= "结束时间:
";
} else {
$tmp = '';
@@ -525,8 +525,8 @@ if ($dopost == "show") {
$dsql->ExecuteNoneQuery($query);
$formshtml = dede_htmlspecialchars($forms);
echo '';
- echo "下面生成的网页表单,请自行复制,根据自己需求修改样式后粘贴到对应的模板中
";
- echo '
预览:
下面生成的网页表单,请自行复制,根据自己需求修改样式后粘贴到对应的模板中
"; + echo '