CMSware Changlog |
2.6.2CMSware2.6.2.20060223 Preview New
|
2.6.2CMSware2.6.2 BUILD 20060120 Released New
|
2.6.1CMSware2.6.1 BUILD 20060101 Released New
|
2.6CMSware2.6 BUILD 1022 Released New
專業版增強功能列表(提供更佳的模板管理與發佈管理控制):
門戶版增強功能列表(主要是針對超大數據量性能優化與更細層面的權限管理): BUG修復
|
2.5.1CMSware2.5.1 Stable Released [2005-08-10] New
BUG修復
|
2.5 StableCMSware2.5 Stable Released [2005-08-10] New
BUG修復
|
2.5 RC6CMSware2.5 Release Candidate 6 Released [2005-07-28] New
type 屬性(name:header名)
<header name="Content-Type: text/html; charset=gb2312" />
<header name="Content-Type: text/xml; charset=gb2312" /> BUG修復
|
2.5 RC5CMSware2.5 Release Candidate 5 Released [2005-07-08] BUG修復
RC4升級到RC5方法
|
2.5 RC4CMSware2.5 Release Candidate 4 Released [2005-07-01 ]
BUG修復
[SQL]
|
2.5 RC3CMSware2.5 Release Candidate 3 Released [2005-05-15 ]
BUG修復
[SQL]
[*新模板語法] 從2.5RC3起,模板引擎增加新的模板調用語法(該模板語法為cmsware3.0的計劃,現在提前加入進行過渡測試),同時完全兼容1.x/2.x模板語法,新語法支持更多更強的功能。 CMS調用<CMS action="LIST"
return="ListOne" where="(c.Title=='{$var.Title}'
and c.Photo!='') or c.Hit>=10" NodeID="1" />
IF語句 <CMS action="CONTENT" return="contentInfo" IndexID="{$var.IndexID}" /> <CMS action="SQL" return="ListTwo" query="select * from cmsware_site where Disabled=0" /> <if test="$a
> $b && ($b>$e)">
LOOP語句 <elseif test="$c > $b || $a == 0" > <else> </if> <loop name="List"
var="var" key="key"
>
</loop> OP操作語句 該語句為新增語句,用於表達式的運算 格式:<op exp="要運算的表達式" />
例子:
<op exp="$var=$var+1" /> <op exp="$var++" /> <op exp="$var=($var - 5)/10" /> <op exp="$var=date()" /> <op exp="$var=date('Y-m-d', $info.Time)" /> OP語句的功能非常強大,可以用來替換var語句進行複雜變量定義 <var name="hello" value="world" /> 等同於<op exp="$hello='world'" /> 使用OP語句進行複雜變量定義:<op exp="$hello=Cstrsub($var.Content,1,10,'...').'New!'"
/> Debug語句 該語句為新增語句,用於變量調試 格式:<debug name="變量名" />
例子:
<CMS action="SEARCH" return="List" NodeID="{$NodeID}" Field="Keywords" Keywords="{$Keywords}" Num="10" Separator="," IgnoreContentID="{$ContentID}" /><!--使用SEARCH調用獲取相關文章列表--> <debug name="List" /> <LOOP name="List" key="key" var="var"> <li><a href="[$var.URL]">[$var.Title]</a></li> </LOOP> [新舊模板語法比較]
<CMS action="LIST" return="ListOne"
where="(c.Title=='{$var.Title}' and c.Photo!='') or c.Hit>=10"
NodeID="1"/> <!--新版本的where調用支持變量引用判斷,及複雜表達式-->
老版CMS調用:
<CMS action="SQL" return="ListTwo" query="select * from cmsware_site where Disabled=0" /> <CMS::LIST:ListOne NodeID="1">
<where: (c.Title=='{$var.Title}' and c.Photo!='') or c.Hit>=10 > <!--老版本的where調用不支持變量引用判斷,及複雜表達式--> ... </CMS> 新版LOOP調用: <loop name="List" var="var"
key="key"> </loop> 老版LOOP調用: <loop $List var=var key=key>
</loop> 新版IF調用: <if test="$a > $b && ($b>$e)">
老版IF調用:
<elseif test="$c > $b || $a == 0" > <else> </if> <if $a > $b && ($b>$e)>
<elseif $c > $b || $a == 0 > <else> </if> |