Displaying 1 result from an estimated 1 matches for "passedmonthparam".
2006 Nov 04
0
weird problem with content type
...l(2006,8,31)
cal = CalendarGrid.build(Time.local(@passedyear.to_i,@passedmonth.to_i,1))
puts "Content-Type: text/html"
%>
<% cal.years.each do |y| unless y.year.to_i!=@passedyear.to_i %> <br>
<%= link_to(("<"), :year => y.year.to_i-1, :month =>
@passedmonthparam) %><%= y.year %><%= link_to((">"), :year =>
y.year.$
<% y.months.each do |m| if m.strftime("%m")==@passedmonth %>
<% unless @passedmonthparam.to_i==1 %> <%= link_to(("<"), :year =>
y.year, :month => @passedmonthparam.to_i...