<?php

$appid	=	"go";

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

$Modules[$appid] = array();

//模块名称
$Modules[$appid]["name"]	=	"计数器";

//模块类型
$Modules[$appid]["model"]	=	"module";

//模块版本
$Modules[$appid]["version"]	=	"3.0";

//模块作者
$Modules[$appid]["author"]	=	"VeryIDE";

//模块网站
$Modules[$appid]["support"]	=	"http://www.veryide.com/";

//应用标识名称
$Modules[$appid]["appid"]	=	$appid;

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

//表单系统目录,相对于VeryIDE	*
//$Modules[$appid]["path"]	=	"../go/";

//表单HTTP地址,绝对地址	*
//$Modules[$appid]["http"]	=	"../go/";

//操作菜单
$Modules[$appid]["tool"]	=	'<a href="javascript:$(\'list\').value = setAll(\'#table tbody tr input\',true); void(0);">全选</a> / <a href="javascript:$(\'list\').value = setAll(\'#table tbody tr input\',false); void(0);">全不选</a> / <a href="javascript:$(\'list\').value = setAll(\'#table tbody tr input\',\'anti\'); void(0);">反选</a> - <a href="javascript:if(confirm(\'确定要删除所选吗?\')){formPost(\'formPost\',\'delete\');}void(0);">删除所选</a>';

//搜索配置
$Modules[$appid]["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>")
);

//权限配置
$Modules[$appid]["func"] = array(
							  "go-add"=>"添加统计",
							  "go-mod"=>"修改统计",
							  "go-del"=>"删除统计"
							);
		
//左侧菜单
$Modules[$appid]["menu"] = array(
							  "新增统计"=>"go.edit.php",
							  "管理统计"=>"go.list.php"
							);

?>