diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-29 08:34:25 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-29 08:34:25 +0100 |
commit | 2f2160d98388a797774f120090db661a6207e442 (patch) | |
tree | 2a77feb2812a1ca9eecc613692a345ae8a40dd2c /poll.rb | |
parent | d76f48d91cdfa5670c1e088277760ea568007f49 (diff) |
add second separator line
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -165,7 +165,7 @@ INVITE edituser = $cgi.cookies["username"][0] unless @data.include?($cgi.cookies["username"][0]) @head.columns.each{|k| checked[k] = NOVAL} end - ret = "<tr id='separator'><td colspan='#{@head.col_size + 2}' class='invisible'></td></tr>\n" + ret = "<tr id='separator_top'><td colspan='#{@head.col_size + 2}' class='invisible'></td></tr>\n" ret += "<tr id='add_participant'>\n" ret += "<td class='name'> <input type='hidden' name='olduser' value=\"#{edituser}\" /> @@ -194,7 +194,7 @@ TR } ret += "</table></td>" } - ret += "<td class='date'>" + ret += "<td>" if @data.include?(edituser) ret += "<input type='submit' value='" + _("Save Changes") + "' />" ret += "<br /><input style='margin-top:1ex' type='submit' name='delete_participant' value='" + _("Delete User") + "' />" @@ -204,6 +204,7 @@ TR ret += "</td>\n" ret += "</tr>\n" + ret += "<tr id='separator_bottom'><td colspan='#{@head.col_size + 2}' class='invisible'></td></tr>\n" ret end |