<?php
/*
 +----------------------------------------------------------------------
 | TEMMOKUMVC [ NO BEST, ONLY BETTER ]
 +----------------------------------------------------------------------
 | Copyright (c) 2018~2019 https://www.temmoku.cn All rights reserved.
 +----------------------------------------------------------------------
 | Author: 张宗强 Email:webmaster@temmoku.cn QQ:158726877 516669373 TEL:17895221001 微信:temmokumvc
 +---------------------------------------------------------------------- 
*/
return [
	'POWER'=>[
		"setting"=>[
			'name'=>"模块设置",
			"power"=>[
				'index'=>['name'=>'参数设置','if_show'=>true],
			]
		],
		"category"=>[
			'name'=>'分类栏目',
			"power"=>[
				'add'=>['name'=>'添加分类','if_show'=>true],
				'index'=>['name'=>'分类列表','if_show'=>true],
				'edit'=>['name'=>'编辑分类','if_show'=>false],
				'del'=>['name'=>'删除分类','if_show'=>false],
				'batch_action'=>['name'=>'批量排序','if_show'=>false],
			]
		],
		"articles"=>[
			'name'=>'文章管理',
			"power"=>[
				'add'=>['name'=>'添加文章','if_show'=>true],
				'index'=>['name'=>'文章列表','if_show'=>true],
				'edit'=>['name'=>'文章编辑','if_show'=>false],
				'del'=>['name'=>'文章删除','if_show'=>false],
				'ajax_module'=>['name'=>'动态获取模型','if_show'=>false],
				'batch_edit'=>['name'=>'批量|单个审核或者推荐（组合）','if_show'=>false],
			]
		],

		"comment"=>[
			'name'=>'评论管理',
			"power"=>[
				'state'=>['name'=>'审核评论','if_show'=>false],
				'index'=>['name'=>'评论列表','if_show'=>true],
				'del'=>['name'=>'删除评论','if_show'=>false],
			]
		],
		"module"=>[
			'name'=>'模型管理',
			"power"=>[
				'add'=>['name'=>'添加模型','if_show'=>true],
				'index'=>['name'=>'模型列表','if_show'=>true],
				'del'=>['name'=>'删除模型','if_show'=>false],
				'state'=>['name'=>'模型状态设置','if_show'=>false],
				'edit'=>['name'=>'修改模型','if_show'=>false],
				'reorder'=>['name'=>'模型排序','if_show'=>false],
				'field_reorder'=>['name'=>'字段排序','if_show'=>false],
				'field_list'=>['name'=>'字段列表','if_show'=>false],
				'del_field'=>['name'=>'删除字段','if_show'=>false],
				'field_add'=>['name'=>'添加字段','if_show'=>false],
				'edit_field'=>['name'=>'修改字段','if_show'=>false],
				'ajax_field'=>['name'=>'动态获得字段内容','if_show'=>false],
			]
		],
		"special"=>[
			'name'=>'专题管理',
			"power"=>[
				'category'=>['name'=>'专题栏目列表','if_show'=>true],
				'category_edit'=>['name'=>'专题栏目修改','if_show'=>false],
				'batch_category_action'=>['name'=>'批量排序或目录','if_show'=>false],
				'category_del'=>['name'=>'删除分类','if_show'=>false],
				'edit'=>['name'=>'编辑专题','if_show'=>false],
				'del'=>['name'=>'删除专题','if_show'=>false],
				'add'=>['name'=>'创建专题','if_show'=>false],
				'index'=>['name'=>'专题列表','if_show'=>true],
				'articles'=>['name'=>'专题文章管理','if_show'=>false],
				'ajax_article'=>['name'=>'获取动态文章','if_show'=>false],
				'articls_del'=>['name'=>'单个删除专题文章','if_show'=>false],
				'batch_article_action'=>['name'=>'批量排序删除专题文章','if_show'=>false],
				'ajax_add_article'=>['name'=>'动态将文章插入专题','if_show'=>false],
				'comment'=>['name'=>'专题评论','if_show'=>false],
				'comment_action'=>['name'=>'删除或审核专题评论','if_show'=>false],
			]
		],
		"upfile"=>[
			'name'=>'文件上传',
			"power"=>[
				'up'=>['name'=>'后台上传文件必须','if_show'=>false],
			]
		],
	]
]
?>