diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-20 00:30:19 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-20 00:30:19 +0100 |
commit | c3d97c3944186d3ad08bcd50b496f3e64ebd8c3b (patch) | |
tree | c59bf557a0de56464f923eff2a8679153e51e59a | |
parent | c827b6deaadb0c08c003cd8e6410fc02b49513fc (diff) |
home tab + bugfix
-rwxr-xr-x | config_poll.rb | 2 | ||||
-rw-r--r-- | html.rb | 3 |
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 @@ -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' > #{tab} </li> " |