Browse Source

PHP7.X下专题添加多个内容的错误

tags/6.0.0
tianya 3 years ago
parent
commit
1f922bb128
6 changed files with 7 additions and 5 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -1
      src/dede/inc/inc_menu.php
  3. +1
    -1
      src/dede/spec_add.php
  4. +1
    -1
      src/dede/spec_edit.php
  5. +1
    -1
      src/dede/templets/index2.htm
  6. +1
    -1
      src/include/dedetemplate.class.php

+ 1
- 0
.gitignore View File

@@ -23,3 +23,4 @@ src/uploads/userup
src/uploads/20*
src/data/mysqli_error_trace.inc
src/uploads/litimg/*
src/special/

+ 2
- 1
src/dede/inc/inc_menu.php View File

@@ -165,8 +165,9 @@ $adminMenu2
<m:top item='1_10_7_' name='系统帮助' display='none'>
<m:item name='参考文档' link='http://help.dedecms.com' rank='' target='_blank' />
<m:item name='意见建议反馈' link='http://site.desdev.cn/suggest/' rank='' target='_blank' />
<m:item name='意见建议反馈' link='https://github.com/dedetech/issues' rank='' target='_blank' />
<m:item name='官方交流论坛' link='http://bbs.dedecms.com' rank='' target='_blank' />
<m:item name='Github' link='https://github.com/dedetech/' rank='' target='_blank' />
</m:top>
-----------------------------------------------

+ 1
- 1
src/dede/spec_add.php View File

@@ -113,7 +113,7 @@ else if($dopost=='save')
}
//专题节点列表
$arcids = '';
$arcids = array();
$notelist = '';
for($i=1; $i<=$cfg_specnote; $i++)
{


+ 1
- 1
src/dede/spec_edit.php View File

@@ -169,7 +169,7 @@ else if($dopost=='save')
}
//专题节点列表
$arcids = '';
$arcids = array();
$notelist = '';
for($i=1;$i<=$cfg_specnote;$i++)
{


+ 1
- 1
src/dede/templets/index2.htm View File

@@ -118,7 +118,7 @@
<form action="action_search.php" target="main" method="post">
<input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch" style="width:150px;"/>
<input name="" type="submit" value="搜索" class="np"/>
<a href='http://bbs.dedecms.com' target='_blank'>官方论坛</a> <a href='http://help.dedecms.com' target='_blank'>在线帮助</a>
<a href='http://bbs.dedecms.com' target='_blank'>官方论坛</a> <a href='https://github.com/dedetech' target='_blank'>Github</a>
</form>
</div>
</div>


+ 1
- 1
src/include/dedetemplate.class.php View File

@@ -635,7 +635,7 @@ class DedeTemplate
$t = 0;
$preTag = '';
$tswLen = strlen($tagStartWord);
$cAtt->cAttributes->items = array();
@$cAtt->cAttributes->items = array();
for($i=0; $i<$sourceLen; $i++)
{
$ttagName = '';


Loading…
Cancel
Save