PHP
Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]);代码下方增加以下代码:
TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] ){调用方法:
$pv->Fields['currentstyle'] = $currentstyle ? $currentstyle : 'current';
}
else{
$pv->Fields['currentstyle'] = '';
}
{/dede:channelartlist}