--- navi_user.rb 2003-01-12 16:11:28.000000000 +0900 +++ navi_user.rb 2003-02-25 01:19:49.000000000 +0900 @@ -29,7 +29,7 @@ def navi_user result = '' result << %Q[#{navi_index}\n] unless @index_page.empty? - if /^(day|comment)$/ =~ @mode + if /^(day|comment|edit|append|replace)$/ =~ @mode cgi = CGI.new def cgi.referer; nil; end days = [] @@ -54,10 +54,18 @@ days.unshift(nil).push(nil) prev_day, cur_day, next_day = days[days.index(today) - 1, 3] if prev_day - result << %Q[<#{navi_prev_diary(navi_user_format(prev_day))}\n] + if /^(edit|append|replace)$/ =~ @mode then + result << %Q[<#{navi_prev_diary(navi_user_format(prev_day))}\n] + else + result << %Q[<#{navi_prev_diary(navi_user_format(prev_day))}\n] + end end if next_day - result << %Q[#{navi_next_diary(navi_user_format(next_day))}>\n] + if /^(edit|append|replace)$/ =~ @mode then + result << %Q[#{navi_next_diary(navi_user_format(next_day))}>\n] + else + result << %Q[#{navi_next_diary(navi_user_format(next_day))}>\n] + end end end result << %Q[#{navi_latest}\n] unless @mode == 'latest'