dedecms中channel标签的currentstyle里加入autoindex自增
初始代码:{dede:channel type='top' row='10' currentstyle=""}
[*,,
{/dede:channel}
修改方法:
打开 \include\taglib\channel.lib.php 找到
$linkOkstr = str_replace("~typename~",$row['typename',,$linkOkstr);
在其下面加入下面的代码段:
$linkOkstr = str_replace("~autoindex~",$GLOBALS['autoindex',,$linkOkstr);
页:
[1]