Kaynağa Gözat

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

tags/6.0.0
tianya 3 yıl önce
ebeveyn
işleme
1f922bb128
6 değiştirilmiş dosya ile 7 ekleme ve 5 silme
  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 Dosyayı Görüntüle

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

+ 2
- 1
src/dede/inc/inc_menu.php Dosyayı Görüntüle

@@ -165,8 +165,9 @@ $adminMenu2
<m:top item='1_10_7_' name='系统帮助' display='none'> <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://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='官方交流论坛' link='http://bbs.dedecms.com' rank='' target='_blank' />
<m:item name='Github' link='https://github.com/dedetech/' rank='' target='_blank' />
</m:top> </m:top>
----------------------------------------------- -----------------------------------------------

+ 1
- 1
src/dede/spec_add.php Dosyayı Görüntüle

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


+ 1
- 1
src/dede/spec_edit.php Dosyayı Görüntüle

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


+ 1
- 1
src/dede/templets/index2.htm Dosyayı Görüntüle

@@ -118,7 +118,7 @@
<form action="action_search.php" target="main" method="post"> <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="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"/> <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> </form>
</div> </div>
</div> </div>


+ 1
- 1
src/include/dedetemplate.class.php Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet