diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-01 15:58:30 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-01 15:58:30 +0100 |
commit | 16f555e4643b826c1a1f38cdbfb6fffe0cb7aadc (patch) | |
tree | a96fd6f5e4e8b509c1e056aa9c4145cd8b1643c8 /history.rb | |
parent | d1e2f034b9fb6d6e07f472bd5483c9122a3270da (diff) |
code cleanup
Diffstat (limited to '')
-rwxr-xr-x | history.rb | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -32,15 +32,16 @@ else $d = Dudle.new("History") end -$d << "<h2>#{versiontitle}</h2>" -$d << $d.table.to_html("",false) +$d << <<HTML +<h2>#{versiontitle}</h2> +#{$d.table.to_html("",false)} +<h2>History</h2> +<div id='history'> +#{$d.table.history_selectform($cgi.include?("revision") ? revno : nil, $cgi["history"])} -$d << "<h2>History</h2>" -$d << "<div id='history'>" -$d << $d.table.history_selectform($cgi.include?("revision") ? revno : nil, $cgi["history"]) - -$d << $d.table.history_to_html(revno, $cgi["history"]) -$d << "</div>" +#{$d.table.history_to_html(revno, $cgi["history"])} +</div> +HTML $d.out($cgi) end |