diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-23 15:05:58 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-23 15:05:58 +0100 |
commit | fc936f76f65db94469959883c8ef2926ff0e779b (patch) | |
tree | 7b3d64fc103abc02efdb6d000194062854409d34 /history.rb | |
parent | 6bcb17d78da2ed2df16c4d994c866dcf57ebe3f4 (diff) |
new feature selecting parts of history
Diffstat (limited to '')
-rwxr-xr-x | history.rb | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -63,7 +63,11 @@ $html << "<h2>#{versiontitle}</h2>" $html << table.to_html("",false) $html << "<h2>History</h2>" -$html << "<div id='history'>#{table.history_to_html(maxrev, revno)}</div>" +$html << "<div id='history'>" +historyselect = $cgi.include?("history") ? $cgi["history"] : nil +$html << table.history_selectform(revno == maxrev ? nil : revno, historyselect) +$html << table.history_to_html(maxrev, revno, historyselect) +$html << "</div>" $html << "</div></body>" |