From 65e7f3916443f8603f2c62388827f849d61a5fae Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Sat, 23 Jan 2010 23:39:05 +0100 Subject: forgot the config_sample --- config_sample.rb | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'config_sample.rb') diff --git a/config_sample.rb b/config_sample.rb index 87db794..1dc518d 100644 --- a/config_sample.rb +++ b/config_sample.rb @@ -26,24 +26,15 @@ load "git.rb" # Change this if the url is not determined correctly SITEURL = "http://#{$cgi.server_name}#{$cgi.script_name.gsub(/[^\/]*$/,"")}" +# Add some Example Polls to the start page +EXAMPLES = { + "event_schedule_example" => "coffeebreak", + "normal_example" => "coffee" +} + # add the htmlcode in the Variable NOTICE to the startpage -# Example 1: displays a static text +# Example: displays all available Polls notice = < -

Examples

- If you want to play around with the Tool, you may want to take a look at these two Example Polls:
- Event Schedule Poll
- Normal Poll - - -
-

--verbose

- Get the sourcecode with bazaar: -
bzr branch #{SITEURL} dudle
-
-NOTICE -# Example 2: displays all available Polls -notice += <Available Polls -- cgit v1.2.3