pb2menu 1

type dialog

command "cvar_clear password"

widget
	type pic
	bpic popup1
	picwidth 260
	picheight 80
	xcent 0
	ycent 0
	halign center
	valign center

widget
	xcent 0
	ycent -30
	type text
	halign center
	text "SERVER IS PASSWORD PROTECTED"

widget
	yrel 16
	halign center
	text "Server Password:"

widget
	xrel  0
	yrel 15
	type field
	halign center
	width 20
	cvar password
	selected
	command "reconnect; menu off"

widget
	yrel 18
	xcent -42
	halign center
	type text
	text "Ok"
	command "reconnect; menu off"

widget
	yrel 0
	xcent 42
	halign center
	type text
	text "Cancel"
	command "menu pop"