#macro( select $name $displayname $choicelist $size $selected) $displayname #foreach( $choice in $choicelist ) #if ( $selected == $choice ) $choice #else $choice #end #end #end #set( $months = [1..12] ) #set( $years = [2004..$blog.getCurrentYear()] )