From 5bda86110e923ca24766186e1b9f13ab0da6229f 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, 17 Mar 2023 17:56:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A8=A1=E6=9D=BF=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/file_edit.htm | 4 ++-- src/admin/templets/tpl_edit.htm | 13 +++++-------- src/admin/templets/tpl_edit_tag.htm | 2 +- src/system/taglib/help/channelartlist.txt | 1 - src/system/taglib/help/flink.txt | 2 +- src/system/taglib/help/group.txt | 2 +- src/system/taglib/help/groupthread.txt | 2 +- src/system/taglib/help/hotwords.txt | 2 +- src/system/taglib/help/vote.txt | 2 +- 9 files changed, 13 insertions(+), 17 deletions(-) diff --git a/src/admin/templets/file_edit.htm b/src/admin/templets/file_edit.htm index 8a65f468..9c1ad857 100644 --- a/src/admin/templets/file_edit.htm +++ b/src/admin/templets/file_edit.htm @@ -39,11 +39,11 @@ </tr> <tr> <td>工作目录</td> - <td><input name="activepath" value="{dede:global name='activepath'/}" class="admin-input-md">(空白表示根目录,不允许用“..”形式的路径)</td> + <td><input name="activepath" value="{dede:global name='activepath'/}" class="admin-input-md">(空白表示根目录,不可以用“..”符号表示路径)</td> </tr> <tr> <td>文件名称</td> - <td><input name="filename" value="{dede:global name='filename'/}" class="admin-input-md">(不允许用“..”形式的路径)</td> + <td><input name="filename" value="{dede:global name='filename'/}" class="admin-input-md">(不可以用“..”符号表示路径)</td> </tr> <tr class="table"> <td colspan="2" class="p-0">{dede:global name='contentView'/}</td> diff --git a/src/admin/templets/tpl_edit.htm b/src/admin/templets/tpl_edit.htm index f9f6b13b..4b0d4b98 100644 --- a/src/admin/templets/tpl_edit.htm +++ b/src/admin/templets/tpl_edit.htm @@ -13,7 +13,7 @@ <script src="js/mode/javascript/javascript.js"></script> <script src="js/mode/css/css.js"></script> <script src="js/mode/htmlmixed/htmlmixed.js"></script> - <style>.selbt{float:left;display:inline-block;margin:2px;text-align:center;border-radius:.5rem}.helpdiv{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:.5rem}</style> + <style>.selbt{float:left;display:inline-block;margin:6px 6px 6px 0;text-align:center;border-radius:.5rem}.helpdiv{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:.5rem}</style> <script> function Post() { if (document.form1.filename.value == "") { @@ -56,10 +56,7 @@ </tr> <tr> <td width="260">文件名称</td> - <td><input name=filename value="<?php echo $filename;?>" class="admin-input-md">(不允许用“..”形式的路径)</td> - </tr> - <tr> - <td colspan="2">参考标签:</td> + <td><input name=filename value="<?php echo $filename;?>" class="admin-input-md">(不可以用“..”符号表示路径)</td> </tr> <tr> <td colspan="2"> @@ -71,10 +68,10 @@ </td> </tr> <tr> - <td colspan="2" style="border-top:1px solid #fff"> + <td colspan="2"> <?php foreach ($helps as $key => $help) { - echo '<div name="help111" id="'.$key.'" class="helpdiv"><span class="float-right"><a href="javascript:;" onclick="showdiv(\'\')" class="btn btn-success btn-sm">关闭</a></span>标签名称:'.$key.'<br>功能说明:'.trim($help[0]).'<br>使用实例:<br><textarea class="admin-textarea-xl">'.trim($help[1]).'</textarea><br>参数说明:<br>'.""; + echo '<div name="help111" id="'.$key.'" class="helpdiv"><span class="float-right"><a href="javascript:;" onclick="showdiv(\'\')" class="btn btn-success btn-sm">关闭</a></span><p>标签名称:'.$key.'</p><p>标签说明:'.trim($help[0]).'</p><p><textarea class="admin-textarea-xl">'.trim($help[1]).'</textarea></p><span>'.""; $parameters = explode("\n", $help[2]); foreach($parameters as $parameter) { @@ -82,7 +79,7 @@ if ($parameter == '') continue; else echo $parameter,'<br>'; } - echo '</div>'.""; + echo '</span></div>'.""; } ?> </td> diff --git a/src/admin/templets/tpl_edit_tag.htm b/src/admin/templets/tpl_edit_tag.htm index e4c50a7e..4387c0cc 100644 --- a/src/admin/templets/tpl_edit_tag.htm +++ b/src/admin/templets/tpl_edit_tag.htm @@ -44,7 +44,7 @@ </tr> <tr> <td width="260">文件名称</td> - <td><input name="filename" value="<?php echo $filename;?>" class="admin-input-md">(不允许用“..”形式的路径)</td> + <td><input name="filename" value="<?php echo $filename;?>" class="admin-input-md">(不可以用“..”符号表示路径)</td> </tr> <tr> <td colspan="2" class="p-0"><textarea id="content" name="content" class="admin-textarea-xl"><?php echo $democode;?></textarea></td> diff --git a/src/system/taglib/help/channelartlist.txt b/src/system/taglib/help/channelartlist.txt index f8d8a119..8adf6c3d 100755 --- a/src/system/taglib/help/channelartlist.txt +++ b/src/system/taglib/help/channelartlist.txt @@ -17,6 +17,5 @@ typeid='' 调用栏目id,用英文逗号分开表示多个栏目 notypeid='' 不调用栏目id,用英文逗号分开表示多个栏目 row='20' 获取的栏目返回值 -其他说明: 除了宏标记外,channelArtlist 是唯一一个可以直接嵌套其它标记的标记,不过仅限于嵌套 {dede:type}{/dede:type}和{dede:arclist}{/dede:arclist}两个标记 \ No newline at end of file diff --git a/src/system/taglib/help/flink.txt b/src/system/taglib/help/flink.txt index 9afa95b3..6b80cd50 100755 --- a/src/system/taglib/help/flink.txt +++ b/src/system/taglib/help/flink.txt @@ -5,5 +5,5 @@ type='image' 或textall,图片链接,text文字链接; row='24' 链接数量 titlelen='24' 站点文字的长度 -linktype='1' 链接位置(首页,内页) +linktype='1' 链接位置(1首页,2内页) typeid='0' 所有类型 diff --git a/src/system/taglib/help/group.txt b/src/system/taglib/help/group.txt index 17a31dea..9742c30b 100755 --- a/src/system/taglib/help/group.txt +++ b/src/system/taglib/help/group.txt @@ -9,4 +9,4 @@ >>dede>> row='6' 调用条数 orderby='threads' 排列顺序(默认是主题数) -titlelen='30' 圈子名称最大长度 \ No newline at end of file +titlelen='30' 圈子名称长度 \ No newline at end of file diff --git a/src/system/taglib/help/groupthread.txt b/src/system/taglib/help/groupthread.txt index 6cf93224..de2d4178 100755 --- a/src/system/taglib/help/groupthread.txt +++ b/src/system/taglib/help/groupthread.txt @@ -11,4 +11,4 @@ gid='0' 圈子id,默认为全部 orderby='dateline' 排序,默认为时间 orderway='desc' 排序方向,默认是最新主题在前 row='12' 记录数 -titlelen='30' 主题标题(subject)最大长度 \ No newline at end of file +titlelen='30' 主题标题长度 \ No newline at end of file diff --git a/src/system/taglib/help/hotwords.txt b/src/system/taglib/help/hotwords.txt index 54acf2c7..25ea9408 100755 --- a/src/system/taglib/help/hotwords.txt +++ b/src/system/taglib/help/hotwords.txt @@ -4,4 +4,4 @@ >>dede>> num='6' 关键词数目 subday='365' 天数 -maxlength='16' 关键词最大长度 \ No newline at end of file +maxlength='16' 关键词长度 \ No newline at end of file diff --git a/src/system/taglib/help/vote.txt b/src/system/taglib/help/vote.txt index 58cff79e..3a7f8999 100755 --- a/src/system/taglib/help/vote.txt +++ b/src/system/taglib/help/vote.txt @@ -8,4 +8,4 @@ tablewidth='100%' 表格宽度 titlebgcolor='#EDEDE2' 投票标题背景色 titlebackground='' tablebg='' 投票表格背景色 -为了更方便修改样式,建议在后台->插件列表->投票管理,直接复制生成的网页代码来使用 \ No newline at end of file +在后台->插件列表->投票管理,直接复制生成的网页代码来使用 \ No newline at end of file