diff options
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -136,8 +136,9 @@ CREATE $d << "<div class='textcolumn'><h2>" + _("Examples") + "</h2>" $d << _("If you want to play around with the Tool, you may want to take a look at these Example Polls:") $d << "<ul>" - $d << "<li><a href='#{EXAMPLES["event_schedule_example"]}'>" + _("Event Schedule Poll") + "</a></li>" if EXAMPLES["event_schedule_example"] - $d << "<li><a href='#{EXAMPLES["normal_example"]}'>" + _("Normal Poll") + "</a></li>" if EXAMPLES["normal_example"] + EXAMPLES.each{|poll| + $d << "<li><a href='example.cgi?poll=#{poll[:url]}'>#{poll[:description]}</a></li>" unless poll[:hidden] + } $d << "</ul></div>" end |