--- 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[\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[\n]
+ if /^(edit|append|replace)$/ =~ @mode then
+ result << %Q[\n]
+ else
+ result << %Q[\n]
+ end
end
if next_day
- result << %Q[\n]
+ if /^(edit|append|replace)$/ =~ @mode then
+ result << %Q[\n]
+ else
+ result << %Q[\n]
+ end
end
end
result << %Q[\n] unless @mode == 'latest'