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