<?php

$_G['module']['go'] = array();

//模块名称
$_G['module']['go']['name']	=	"统计";

//模块类型
$_G['module']['go']['model']	=	"module";

//模块版本
$_G['module']['go']['version']	=	"2.0";

//模块作者
$_G['module']['go']['author']	=	"VeryIDE";

//模块网站
$_G['module']['go']['support']	=	"http://www.veryide.com/";

//模块网站
$_G['module']['go']["describe"]	=	"想知道一个活动页有多少点击？给他添加一个计数器吧";

/***************************/

//操作菜单
$_G['module']['go']['tool']	=	'<a href="javascript:Mo(\'#table tbody tr input[type=checkbox]\').checked( true ); void(0);">全选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked( false ); void(0);">不选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked(); void(0);">反选</a> - <a href="javascript:if(confirm(\'确定要删除所选吗?\')){ Mo(\'#formPost input[name=action]\').value(\'delete\'); Mo(\'#formPost\').submit(); }void(0);">删除所选</a>';

//搜索配置
$_G['module']['go']['search']	=		array(
	"table"=>"{TableModPre}go",
	"title"=>"统计",
	"where"=>"",
	"keyword"=>"name",
	"private"=>" aid = ".$_SESSION['Manager']['id'],
	"order"=>"id",
	"cache"=>"html/",
	"fieds"=>array("id"=>"ID","name"=>"统计名称","account"=>"创建者","s_view"=>"点击量"),
	"extra"=>array("name"=>"<a onclick='parent.Mo.Window(\"window\",\"搜索结果预览\" , \"go.edit.php?sid={id}&action=edit\" , 900, 500 ,{});void(0);'>{name}</a>")
);

//权限配置
$_G['module']['go']['func'] = array(
							  "go-add"=>"添加统计",
							  "go-mod"=>"修改统计",
							  "go-del"=>"删除统计"
							);

//数据类型
$_G['module']['go']["method"]	=	array(
	"click"=>"点击",
	"view"=>"展示"
);
							
//模块菜单
$_G['module']['go']['menu'] = array(
							  "新增统计"=>"go.edit.php",
							  "管理统计"=>"go.list.php"
							);