diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 22:57:08 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 22:57:08 +0100 |
commit | ce941b3a686fd4bec12377d8d303ad9995f32705 (patch) | |
tree | 90fcf0cd1aad24f352b4a8f67972bcb89c1aa3bc | |
parent | 0e53012e5c656f2a54e8550a7a43e7908862a289 (diff) |
include title in mail link
-rw-r--r-- | dudle.rb | 2 | ||||
-rwxr-xr-x | help.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ require "config" require "charset" class Dudle - attr_reader :html, :table, :urlsuffix, :css + attr_reader :html, :table, :urlsuffix, :css, :title def tabs(active_tab) ret = "<div id='tabs'><ul>" tabs = [] @@ -28,7 +28,7 @@ $d = Dudle.new("Help") $d << <<END The link to your poll is: <pre>#{SITEURL}</pre> -<a href='mailto:?subject=dudle%20link&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}'>Send this link via email...</a> <form method='get' action='.'> <div> <input type='submit' value='To the Vote interface' /> |