Browse Source

优化模板编辑提示

tags/6.2.6
叙述、别离 1 year ago
parent
commit
5bda86110e
9 changed files with 13 additions and 17 deletions
  1. +2
    -2
      src/admin/templets/file_edit.htm
  2. +5
    -8
      src/admin/templets/tpl_edit.htm
  3. +1
    -1
      src/admin/templets/tpl_edit_tag.htm
  4. +0
    -1
      src/system/taglib/help/channelartlist.txt
  5. +1
    -1
      src/system/taglib/help/flink.txt
  6. +1
    -1
      src/system/taglib/help/group.txt
  7. +1
    -1
      src/system/taglib/help/groupthread.txt
  8. +1
    -1
      src/system/taglib/help/hotwords.txt
  9. +1
    -1
      src/system/taglib/help/vote.txt

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

@@ -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>


+ 5
- 8
src/admin/templets/tpl_edit.htm View File

@@ -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>


+ 1
- 1
src/admin/templets/tpl_edit_tag.htm View File

@@ -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>


+ 0
- 1
src/system/taglib/help/channelartlist.txt View File

@@ -17,6 +17,5 @@
typeid='' 调用栏目id,用英文逗号分开表示多个栏目
notypeid='' 不调用栏目id,用英文逗号分开表示多个栏目
row='20' 获取的栏目返回值
其他说明:
除了宏标记外,channelArtlist 是唯一一个可以直接嵌套其它标记的标记,不过仅限于嵌套
{dede:type}{/dede:type}和{dede:arclist}{/dede:arclist}两个标记

+ 1
- 1
src/system/taglib/help/flink.txt View File

@@ -5,5 +5,5 @@
type='image' 或textall,图片链接,text文字链接;
row='24' 链接数量
titlelen='24' 站点文字的长度
linktype='1' 链接位置(首页,内页)
linktype='1' 链接位置(1首页,2内页)
typeid='0' 所有类型

+ 1
- 1
src/system/taglib/help/group.txt View File

@@ -9,4 +9,4 @@
>>dede>>
row='6' 调用条数
orderby='threads' 排列顺序(默认是主题数)
titlelen='30' 圈子名称最大长度
titlelen='30' 圈子名称长度

+ 1
- 1
src/system/taglib/help/groupthread.txt View File

@@ -11,4 +11,4 @@ gid='0' 圈子id,默认为全部
orderby='dateline' 排序,默认为时间
orderway='desc' 排序方向,默认是最新主题在前
row='12' 记录数
titlelen='30' 主题标题(subject)最大长度
titlelen='30' 主题标题长度

+ 1
- 1
src/system/taglib/help/hotwords.txt View File

@@ -4,4 +4,4 @@
>>dede>>
num='6' 关键词数目
subday='365' 天数
maxlength='16' 关键词最大长度
maxlength='16' 关键词长度

+ 1
- 1
src/system/taglib/help/vote.txt View File

@@ -8,4 +8,4 @@ tablewidth='100%' 表格宽度
titlebgcolor='#EDEDE2' 投票标题背景色
titlebackground=''
tablebg='' 投票表格背景色
为了更方便修改样式,建议在后台->插件列表->投票管理,直接复制生成的网页代码来使用
在后台->插件列表->投票管理,直接复制生成的网页代码来使用

Loading…
Cancel
Save