pb2menu 1

background none

widget
	type pic
	bpic popup1
	picwidth 244
	picheight 170
	xcent 0
	halign center
	ycent 0
	valign center

widget type text
	text "MANAGE ROTATION"
	halign center
	xcent 0
	ycent -74

widget
	type text
	text "Map:"
	xcent -110
	ycent -60
widget
	yrel 12
	type field
	width 12
	cvar menu_admin_map
	cvar_default "midnight2"

widget
	type text
	ycent -16
	xcent -55
	halign center
	text "Add"
	command "cmd rotation add beta/$menu_admin_map"
widget
	type text
	yrel 16
	halign center
	text "Remove"
	command "cmd rotation del beta/$menu_admin_map"

widget
	type text
	yrel 40
	halign center
	text "Clear List"
	command "cmd rotation clear"

widget
	type text
	ycent -60
	xcent 16
	text "Normal"
	command "menu pop; menu admin_rotation"
	nobg
widget
	type text
	xrel 50
	text "|"
widget
	type text
	xrel 12
	text "ˆEBeta"

widget
	ycent -48
	xcent 14
	type select
	width 12
	size 10
	cvar menu_admin_map
	cvar_default "midnight2"
	filedir "pball/maps/beta/*.bsp"
	strip ".bsp"
	strip "pball/maps/beta/"
	doubleclick "cmd rotation add beta/$menu_admin_map"

widget
	type text
	ycent 64
	xcent -70
	halign center
	text "Save"
	command "cmd rotation save"


widget
	type text
	xcent 0
	halign center
	text "Load"
	command "menu admin_rotation_load"


widget
	type text
	xcent 70
	halign center
	text "Cancel"
	command "menu pop"
