diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-24 18:40:40 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-24 18:40:40 +0200 |
commit | 5aff0fbb822b6e3ae57f1826fcfb5edc7a251e1a (patch) | |
tree | dd77e9fc1cb6b6a51576a400a74c15313c56894a /poll.rb | |
parent | f32796e819791331ee54a0687f3b2e585063d8e1 (diff) |
do not show comments on unconfigured poll
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -64,32 +64,6 @@ EDITDELETE ret end def to_html(edituser = "", config = false,activecolumn = nil) - if VCS.revno == 1 && !config - return <<HINT -<pre - style="font-family:Courier New,Courier,monospace; - letter-spacing:0; - margin-top: -8ex; - line-height:95%;" -> - . - .:;:. -.:;;;;;:. - ;;;;; - ;;;;; - ;;;;; - ;;;;; Please press the config link on - ;:;;; the top left corner of this page - ;;; : to configure this poll! - ;:; - ;.: . - : . - . . - - . -</pre> -HINT - end ret = "<table border='1'>\n" ret += head_to_html(config, activecolumn) |