diff --git a/src/admin/templets/ai_prompt_view.htm b/src/admin/templets/ai_prompt_view.htm index 519cbc19..e04f3b2f 100644 --- a/src/admin/templets/ai_prompt_view.htm +++ b/src/admin/templets/ai_prompt_view.htm @@ -46,7 +46,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>(aititle;?>) + isdefault==1?' selected' : '';?>>model;?> aititle;?> AI生成 diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 7c2530d9..246f6708 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -243,7 +243,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>aititle;?> + isdefault==1?' selected' : '';?>>model;?> aititle;?> @@ -333,7 +333,6 @@ const input = document.querySelector(`[name="${currentKey}"]`); if (input) input.value += tagBuffer; } - isClosingTag = false; tagBuffer = ""; } diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index f328b77d..c7d5f4cc 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -247,7 +247,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>(aititle;?>) + isdefault==1?' selected' : '';?>>model;?> aititle;?> diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 901eda02..8f6b6e50 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -313,7 +313,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>(aititle;?>) + isdefault==1?' selected' : '';?>>model;?> aititle;?> diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 8dfe30cf..f5a560a7 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -210,7 +210,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>(aititle;?>) + isdefault==1?' selected' : '';?>>model;?> aititle;?> diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 895efdcc..146706b6 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -342,7 +342,7 @@ $dsql->Execute(); while ($row = $dsql->GetObject()) { ?> - isdefault==1?' selected' : '';?>>model;?>(aititle;?>) + isdefault==1?' selected' : '';?>>model;?> aititle;?> diff --git a/src/install/sql-dftables.txt b/src/install/sql-dftables.txt index 8ac11d43..1cbef78c 100755 --- a/src/install/sql-dftables.txt +++ b/src/install/sql-dftables.txt @@ -817,9 +817,9 @@ CREATE TABLE `#@__search_sync` ( DROP TABLE IF EXISTS `#@__sgpage`; CREATE TABLE `#@__sgpage` ( `aid` smallint(5) unsigned NOT NULL auto_increment, - `title` char(255) NOT NULL default '', `ismake` smallint(6) NOT NULL default '1', `filename` varchar(60) NOT NULL default '', + `title` char(255) NOT NULL default '', `keywords` varchar(255) NOT NULL default '', `description` varchar(255) NOT NULL default '', `template` varchar(30) NOT NULL default '', @@ -967,10 +967,10 @@ DROP TABLE IF EXISTS `#@__tagindex`; CREATE TABLE `#@__tagindex` ( `id` int(10) NOT NULL AUTO_INCREMENT, `tag` varchar(255) NOT NULL DEFAULT '', + `title` varchar(255) DEFAULT NULL, + `litpic` varchar(255) DEFAULT NULL, `keywords` varchar(255) DEFAULT NULL, `description` varchar(255) DEFAULT NULL, - `litpic` varchar(255) DEFAULT NULL, - `title` varchar(255) DEFAULT NULL, `typeid` smallint(5) UNSIGNED NOT NULL DEFAULT '0', `count` int(10) UNSIGNED NOT NULL DEFAULT '0', `total` int(10) UNSIGNED NOT NULL DEFAULT '0', diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index bb27d0cb..01a2bbbb 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -64,8 +64,8 @@ class TagList ShowMsg('当前标签不存在,系统自动返回主页', '/'); exit(); } - $this->Fields['litpic'] = empty($this->TagInfos['litpic']) ? $this->TagInfos['litpic'] : $this->TagInfos['litpic']; $this->Fields['title'] = empty($this->TagInfos['title']) ? $this->TagInfos['tag'] : $this->TagInfos['title']; + $this->Fields['litpic'] = empty($this->TagInfos['litpic']) ? $this->TagInfos['litpic'] : $this->TagInfos['litpic']; $this->Fields['keywords'] = empty($this->TagInfos['keywords']) ? $this->Fields['keywords'] : $this->TagInfos['keywords']; $this->Fields['description'] = empty($this->TagInfos['description']) ? $this->Fields['description'] : $this->TagInfos['description']; } diff --git a/src/system/dedetag.class.php b/src/system/dedetag.class.php index 83bea3bd..a1ee8bd0 100755 --- a/src/system/dedetag.class.php +++ b/src/system/dedetag.class.php @@ -719,7 +719,7 @@ class DedeTagParse $endPos = $e3; $elen = $endPos + strlen($fullTagEndWordThis); } else { - if($e1 < $e3){ + if ($e1 < $e3) { $endPos = $e3; $elen = $endPos + strlen($fullTagEndWordThis); } elseif ($e1 < $e2) { diff --git a/src/system/helpers/filter.helper.php b/src/system/helpers/filter.helper.php index 642f3c91..5ce5bc45 100755 --- a/src/system/helpers/filter.helper.php +++ b/src/system/helpers/filter.helper.php @@ -39,7 +39,7 @@ if (!function_exists('HtmlReplace')) { if ($purifier === null) { $purifier = new HTMLPurifier($config); } - // 处理不同模式 + //处理不同模式 if ($rptype == 0) { //仅替换网页标记 $str = $purifier->purify($str); diff --git a/src/theme/dedebiz/tag_list.htm b/src/theme/dedebiz/tag_list.htm index c4df954c..a394c2d5 100644 --- a/src/theme/dedebiz/tag_list.htm +++ b/src/theme/dedebiz/tag_list.htm @@ -22,7 +22,7 @@ - {dede:list pagesize='2' titlelen='230'} + {dede:list pagesize='10' titlelen='230'} [field:title/]