From 00183811523468d9571d9da34bbe1356528dacae Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Fri, 20 Nov 2009 15:31:14 +0100 Subject: hide participation thing in history --- pollhead.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pollhead.rb') diff --git a/pollhead.rb b/pollhead.rb index 35d397c..f062b13 100644 --- a/pollhead.rb +++ b/pollhead.rb @@ -78,13 +78,13 @@ class PollHead end end - def to_html(config = false,activecolumn = nil) + def to_html(showeditbuttons = false,activecolumn = nil) ret = "Name\n" @data.each{|columntitle,columndescription| ret += "#{CGI.escapeHTML(columntitle)}" - if config + if showeditbuttons ret += < @@ -125,7 +125,7 @@ EDITDELETE
Preview -#{to_html(true)} +#{to_html(true,activecolumn)}
END -- cgit v1.2.3