diff options
-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> " |