aboutsummaryrefslogtreecommitdiff
path: root/pollhead.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-07 06:49:26 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-07 06:49:26 +0200
commit4430c5ec7de1d2c3af2ce27f12b0468e751b2051 (patch)
tree93a8346d8718fecde8ce32a1d89d2eb083edd463 /pollhead.rb
parent6325a8aad014a716d4a26790c20ef094adb5f964 (diff)
display tooltip in pollhead-preview
Diffstat (limited to 'pollhead.rb')
-rw-r--r--pollhead.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/pollhead.rb b/pollhead.rb
index 5026c23..a8387a5 100644
--- a/pollhead.rb
+++ b/pollhead.rb
@@ -61,10 +61,10 @@ SORTSYMBOL
ret = "<tr>"
ret += "<th><a href='?sort=name'>" + _("Name") + " #{sortsymb(scols,"name")}</a></th>\n" unless showeditbuttons
@data.sort.each{|columntitle,columndescription|
- ret += "<th"
+ ret += "<th title=\"#{columndescription}\""
ret += " id='active' " if activecolumn == columntitle
ret += ">"
- ret += "<a title=\"#{columndescription}\" href=\"?sort=#{CGI.escapeHTML(CGI.escape(columntitle))}\">" unless showeditbuttons
+ ret += "<a href=\"?sort=#{CGI.escapeHTML(CGI.escape(columntitle))}\">" unless showeditbuttons
ret += "#{CGI.escapeHTML(columntitle)}"
ret += "#{sortsymb(scols,columntitle)}</a>" unless showeditbuttons
if showeditbuttons