pb2menu 1

command "profile_select $menu_profile_file"

widget 
	type pic	
	xcent 0
	halign center	
	yabs 16
	pic "m_setup1s"

widget
	yrel 32
	text "SELECT PROFILE"
	halign center

widget
	x 80
	y 60
	type select
	rows 10
	width 20
	filedir "pball/profiles/*.prf"
	strip "pball/profiles/"
	strip ".prf"
	cvar menu_profile_file
	command "profile_select $menu_profile_file"

widget
	yrel 106
	cvar menu_profile_remember_pass
	type checkbox
	text "Remember Password"

widget
	yrel 12
	cvar menu_profile_autologin
	type checkbox
	text "Auto-Login"

widget
	yrel 12
	cvar menu_profile_pass
	type field
	password
	width 20

widget
	yrel 16
	text "[Login]"
	command "profile_login $menu_profile_file $menu_profile_pass"

widget
	xrel 108
	command "menu pop"
	text "[Cancel]"

widget
	yrel 12
	xcent 0
	command "menu profile_manage"
	text "[Manage Profiles]"
	halign center
