本帖最后由 kongmingyfm 于 2010-3-16 11:08 编辑
- if(in_array($value['type'], array('type', 'model')) || $value['upnameid']=='news') {
- $channel = $key;
- if(checkperm('allowpost')) {
- if(empty($newchannel)) $newchannel = $channel;
- $postmenus[] = $key;
- }
- }
复制代码 改成- if(in_array($value['type'], array('type', 'model')) || $value['upnameid']=='news') {
- if(checkperm('allowpost')) {
-
- $postmenus[] = $key;
- }
- }
复制代码 修改source下面的,资讯为cp_news.php,模型文件为cp_models.php, |