function offerChoices () { #---------------------------------------------------------------------- global $chosenEventId, $chosenRegionId, $chosenYears, $chosenPatternHtml, $chosenList, $chosenMap; displayChoices( array( eventChoice( false ), regionChoice( true ), yearsChoice( true, true, false, true ), textFieldChoice( 'pattern', 'Name, City or Venue', $chosenPatternHtml ), array( choiceButton( $chosenList, 'list', 'List' ), choiceButton( $chosenMap, 'map', 'Map' ), ) )); }
function offerChoices() { #---------------------------------------------------------------------- global $chosenPatternHtml; displayChoices(array(eventChoice(false), regionChoice(false), textFieldChoice('pattern', 'Name, parts, or WCA id', $chosenPatternHtml), choiceButton(true, 'search', 'Search'))); }