瀏覽代碼

Update dedetag.class.php

develop
叙述、别离 2 月之前
父節點
當前提交
f3db83037c
共有 1 個檔案被更改,包括 2 行新增3 行删除
  1. +2
    -3
      src/system/dedetag.class.php

+ 2
- 3
src/system/dedetag.class.php 查看文件

@@ -16,7 +16,7 @@ class DedeTag
var $InnerText = ''; //标记之间的文本
var $StartPos = 0; //标记起始位置
var $EndPos = 0; //标记结束位置
var $CAttribute = null; //标记属性描述,即是class DedeAttribute
var $CAttribute = null; //标记属性描述即是class DedeAttribute
var $TagValue = ''; //标记的值
var $TagID = 0;
/**
@@ -460,7 +460,6 @@ class DedeTagParse
if (isset($this->CTags[$i])) {
$this->CTags[$i]->IsReplace = TRUE;
$this->CTags[$i]->TagValue = $str;

if ($this->CTags[$i]->GetAtt('function') != '' && $runfunc) {
$this->CTags[$i]->TagValue = $this->EvalFunc($str, $this->CTags[$i]->GetAtt('function'), $this->CTags[$i]);
}
@@ -767,7 +766,7 @@ class DedeTagParse
$i = $sPos + $tsLen;
break;
}
}//结束遍历模板字符串
}
if ($this->IsCache) {
$this->SaveCache();
}


Loading…
取消
儲存