diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-20 14:05:17 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-20 14:05:17 +0100 |
commit | af2fb0d4fd23739b726cc37e4ba0e7ea36b71457 (patch) | |
tree | 6f7a5d403428d6e07fab653df2afa998302ef381 | |
parent | 803b626975e0bb8c02b6a887d43a21655f670f90 (diff) |
removed start hint and redirected directly to edit_column
-rwxr-xr-x | index.cgi | 2 | ||||
-rwxr-xr-x | participate.rb | 27 |
2 files changed, 3 insertions, 26 deletions
@@ -64,7 +64,7 @@ if $cgi.include?("create_poll") } Poll.new(SITE,$cgi["poll_type"]) Dir.chdir("..") - escapedsite = SITEURL + CGI.escapeHTML(CGI.escape(SITE)) + "/" + escapedsite = SITEURL + CGI.escapeHTML(CGI.escape(SITE)) + "/edit_columns.cgi" escapedsite.gsub!("+"," ") $html.header["status"] = "REDIRECT" $html.header["Location"] = escapedsite diff --git a/participate.rb b/participate.rb index 50150b6..6efca03 100755 --- a/participate.rb +++ b/participate.rb @@ -72,29 +72,7 @@ $html << <<HEAD HEAD # TABLE -if VCS.revno == 1 - $html << <<HINT -<h1>#{table.name}</h1> -<pre id='configwarning'> - . - .:;:. -.:;;;;;:. - ;;;;; - ;;;;; - ;;;;; - ;;;;; Please configure this poll - ;:;;; within the config tab! - ;;; : - ;:; - ;.: . - : . - . . - - . -</pre> -HINT -else - $html << <<TABLE +$html << <<TABLE <h1>#{table.name}</h1> <div id='polltable'> <form method='post' action='.'> @@ -103,8 +81,7 @@ else </div> TABLE - $html << table.comment_to_html -end +$html << table.comment_to_html $html << "</div></body>" |