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 64
	type select
	rows 5
	width 20
	filedir "pball/profiles/*.prf"
	strip "pball/profiles/"
	strip ".prf"
	cvar menu_profile_file
	command "profile_select $menu_profile_file"

widget
	yrel 54
	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 100
	command "menu pop"
	text "[Cancel]"

widget
	yrel 20
	xcent 0
	command "menu profile_create"
	text "[Create Profile]"
	halign center

widget
	yrel 12
	xcent 0
	command "menu profile_edit"
	text "[Edit Profile]"
	halign center
