aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.cgi b/index.cgi
index 7eb012e..bd045b2 100755
--- a/index.cgi
+++ b/index.cgi
@@ -130,6 +130,13 @@ NOTICE
</form>
CREATE
+ if defined?(EXAMPLES)
+ $d << "<div><h2>" + _("Examples") + "</h2>"
+ $d << _("If you want to play around with the Tool, you may want to take a look at these Example Polls:") + "<br />"
+ $d << "<a href='#{EXAMPLES["event_schedule_example"]}'>" + _("Event Schedule Poll") + "</a><br />" if EXAMPLES["event_schedule_example"]
+ $d << "<a href='#{EXAMPLES["normal_example"]}'>" + _("Normal Poll") + "</a></div>" if EXAMPLES["normal_example"]
+ end
+
$d << NOTICE
end