<?php

$appid	=	"member";

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

$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"]	=	"../member/";

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

//表单状态
$Modules[$appid]["state"]	=	array('<span class="text-no">已停用</a>','<span class="text-yes">使用中</a>','<span class="text-no">已过期</a>');

//操作菜单
$Modules[$appid]["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=status]\').value(1); Mo(\'#formPost input[name=action]\').value(\'status\'); Mo(\'#formPost\').item(0).submit();}void(0);">确认所选</a> - <a href="javascript:if(confirm(\'确定要取消确认吗?\')){ Mo(\'#formPost input[name=status]\').value(0); Mo(\'#formPost input[name=action]\').value(\'status\'); Mo(\'#formPost\').item(0).submit(); }void(0);">取消确认</a> - <a href="javascript:if(confirm(\'确定要删除所选吗?\')){ Mo(\'#formPost input[name=action]\').value(\'delete\'); Mo(\'#formPost\').item(0).submit(); }void(0);">删除所选</a>';

//用户标识
$Modules[$appid]["sign"]	=	array('未确认','已确认');

//评论每页数量
$Modules[$appid]["pagesize"]	=	5;

//搜索配置
$Modules[$appid]["search"]	=	array(
			"table"=>"{TableModPre}members",
			"title"=>"会员",
			"where"=>"",
			"keyword"=>"account",
			"order"=>"id",
			"cache"=>"html/",
			"fieds"=>array("id"=>"ID","account"=>"会员名称","name"=>"真实姓名","email"=>"电子邮箱","phone"=>"电话号码"),
			"extra"=>array("name"=>"<a onclick='parent.Mo.Window(\"window\",\"搜索结果预览\" , \"member.edit.php?fid={id}&action=edit\" , 900, 500 ,{});void(0);'>{name}</a>")
		);

//字段名称
$Modules[$appid]["fieds"] = array(
							  "id"=>"ID",
							  "account"=>"用户名称",
							  "name"=>"真实姓名",
							  "sex"=>"性别",
							  "blood"=>"血型",							  
							  "blood"=>"血型",
							  "birthday"=>"生日",
							  "email"=>"电子邮箱",
							  "phone"=>"电话号码",
							  "qq"=>"QQ 号码",
							  "msn"=>"MSN 号码",
							  "idcard"=>"身份证号码",
							  "address"=>"联系地址",
							  "marriage"=>"婚姻状态",
							  "blog"=>"博客地址",
							  "career"=>"职业信息",
							  "company"=>"所在公司",
							  "tag_book"=>"喜爱的书箱",
							  "tag_music"=>"喜爱的音乐",
							  "tag_movie"=>"喜爱的电影",
							  "tag_sport"=>"喜爱的运动",
							  "tag_person"=>"欣赏的人",
							  "tag_other"=>"兴趣爱好",
							  "tag_brand"=>"喜爱的品牌",
							  "tag_color"=>"喜爱的颜色",
							  "tag_yearn"=>"向往的事",
							  "stat_login"=>"登录次数",
							  "stat_level"=>"积分",
							  "dateline"=>"注册时间",
							  "modify"=>"更新时间",
							  "ip"=>"注册IP"
							);

//权限配置
$Modules[$appid]["func"] = array(
							  "member-mod"=>"修改用户",
							  "member-del"=>"删除用户",
							  "member-data-dow"=>"下载用户数据",
							  "member-data-del"=>"删除用户数据"
							);
		
//左侧菜单
$Modules[$appid]["menu"] = array(
							  "管理会员"=>"member.list.php",
							  "会员认证"=>"member.auth.php",
							  "会员活动"=>"member.event.php",
							  "API"=>"api.php"
							);
		
//会员认证
$Modules[$appid]["auth"] = array(
							  "0"=>"未申请认证",
							  "1"=>"申请认证",
							  "2"=>"通过认证",
							  "3"=>"未通过认证"
							);

//页面接口
$Modules[$appid]["hock"] = array(
							 "veryide:info-close"=>"apps_box",
							);
	
?>