From de5a08caaca0e9a09643319f40a1f1b08fa3d72c Mon Sep 17 00:00:00 2001
From: LMR <59361885@qq.com>
Date: Wed, 4 Mar 2026 10:03:01 +0800
Subject: [PATCH] info edit fix error
---
.../views/bootstrap3/information_edit.php | 675 +++++++++---------
1 file changed, 337 insertions(+), 338 deletions(-)
diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php
index 50d30727..d4385b75 100644
--- a/application/views/bootstrap3/information_edit.php
+++ b/application/views/bootstrap3/information_edit.php
@@ -38,7 +38,7 @@
}
};
- zNodes = ;
+ zNodes = ;
function onClickzTree(e, treeId, treeNode, clickFlag) {
var urlReQuery = "";
@@ -470,7 +470,7 @@
//}
}
//选择节点
- var node = zTree.getNodeByParam("id", is_id ?>);
+ var node = zTree.getNodeByParam("id", is_id ?>);
zTree.selectNode(node);
change_seo_count('ic_seo_title');
@@ -492,10 +492,9 @@
width: '100%',
height: '560px',
readOnly: false,
-
- allowedContent: true,
- autoParagraph: false,
-
+
filebrowserBrowseUrl: '/wysiwyg/ckfinder/ckfinder.php?sitecode=config->item('site_code'); ?>',
filebrowserUploadUrl: '/wysiwyg/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=image',
contentsCss: 'config->item("css_source_" . $this->config->item("site_code")); ?>'
@@ -608,12 +607,12 @@
@@ -639,23 +638,23 @@
session->userdata('session_admin');
- $usrcode = strtolower($amp_user['OPI_Code']);
- $show_photo_meta = get_meta($information->ic_id, 'meta_use_list_picture');
- $amp_photo = '';
- if ($information->ic_photo && $show_photo_meta !== 'no') {
- $amp_photo = $this->config->item('site_image_url') . $information->ic_photo;
- }
- $amp_build_url = "/amp_app/?icid=" . $information->ic_id . "&is_path=" . $information->is_path . "&usr=" . urlencode($amp_user['OPI_Name']) . "&url=" . urlencode($information->ic_url) . "&photo=" . urlencode($amp_photo) . "&site=" . urlencode($this->config->item('site_url')) . "&imgurl=" . urlencode($this->config->item('site_image_url'));
+ $amp_user = $this->session->userdata('session_admin');
+ $usrcode = strtolower($amp_user['OPI_Code']);
+ $show_photo_meta = get_meta($information->ic_id, 'meta_use_list_picture');
+ $amp_photo = '';
+ if ($information->ic_photo && $show_photo_meta !== 'no') {
+ $amp_photo = $this->config->item('site_image_url') . $information->ic_photo;
+ }
+ $amp_build_url = "/amp_app/?icid=" . $information->ic_id . "&is_path=" . $information->is_path . "&usr=" . urlencode($amp_user['OPI_Name']) . "&url=" . urlencode($information->ic_url) . "&photo=" . urlencode($amp_photo) . "&site=" . urlencode($this->config->item('site_url')) . "&imgurl=" . urlencode($this->config->item('site_image_url'));
+ ?>
+ ic_id, 'AMP_BODY_PC_STATUS') == 'yes') {
+ // $PcAmpChecked = 'checked';
+ // } else {
+ // $PcAmpChecked = '';
+ // }
?>
-ic_id, 'AMP_BODY_PC_STATUS') == 'yes') {
- // $PcAmpChecked = 'checked';
- // } else {
- // $PcAmpChecked = '';
- // }
- ?>