diff options
Diffstat (limited to 'overview.rb')
-rwxr-xr-x | overview.rb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/overview.rb b/overview.rb index 3355ae3..0286efa 100755 --- a/overview.rb +++ b/overview.rb @@ -23,17 +23,22 @@ if __FILE__ == $0 load "../dudle.rb" -$d = Dudle.new("Overview") +$d = Dudle.new $d.wizzard_redirect + +$d << _("The link to your poll is:") + +mailstr = _("Send this link via email...") +nextstr = _("To the Vote interface") + $d << <<END -The link to your poll is: <pre>#{SITEURL}</pre> -<a href='mailto:?subject=link%20to%20dudle%20poll%20about%20#{CGI.escapeHTML(CGI.escape($d.title).gsub("+","%20"))}&body=#{SITEURL}'>Send this link via email...</a> +<a href='mailto:?subject=link%20to%20dudle%20poll%20about%20#{CGI.escapeHTML(CGI.escape($d.title).gsub("+","%20"))}&body=#{SITEURL}'>#{mailstr}</a> <form method='get' action='.'> <div style='margin-top:1ex'> - <input type='submit' value='To the Vote interface' /> + <input type='submit' value='#{nextstr}' /> </div> </form> END |