aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig_poll.rb2
-rw-r--r--html.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/config_poll.rb b/config_poll.rb
index 1bb30c9..65484df 100755
--- a/config_poll.rb
+++ b/config_poll.rb
@@ -220,6 +220,6 @@ REMOVE
$html << "</div></body>"
-cgi.out($cgi)
+$html.out($cgi)
end
diff --git a/html.rb b/html.rb
index e0c521f..fc92971 100644
--- a/html.rb
+++ b/html.rb
@@ -69,7 +69,8 @@ end
module Dudle
def Dudle.tabs(active_tab)
ret = "<div id='tabs'><ul>"
- [["Poll","."],
+ [["Home",".."],
+ ["Poll","."],
["Admin","config.cgi"]].each{|tab,file|
if tab == active_tab
ret += "<li id='active_tab' >&nbsp;#{tab}&nbsp;</li> "