diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-09-22 14:10:48 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-09-22 14:10:48 +0200 |
commit | cc5025b06013380fe07adecab5ca670b75eb690f (patch) | |
tree | 66e4ce495b91883663c5b3e8611d4b1ca8726476 /config_sample.rb | |
parent | f20c638c9e25b3da22fd8125c13a6b5ca3a8a9a2 (diff) |
better approach to example polls (generate a new one for every user)
Diffstat (limited to 'config_sample.rb')
-rw-r--r-- | config_sample.rb | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/config_sample.rb b/config_sample.rb index 0441d8c..d8a3993 100644 --- a/config_sample.rb +++ b/config_sample.rb @@ -53,10 +53,20 @@ BUGREPORTMAIL = "Benjamin.Kellermann@tu-dresden.de" AUTO_SEND_REPORT = false # Add some Example Polls to the start page -EXAMPLES = { - "event_schedule_example" => "coffeebreak", - "normal_example" => "coffee" -} +# you may create those using the normal interface +# and make them password protected afterwards +# .htaccess and .htdigest are deleted after +# example creation (defining password protected +# examples is not possible therefore) +EXAMPLES = [ + { + :url => "coffeebreak", + :description => _("Event Schedule Poll") + },{ + :url => "coffee", + :description => _("Normal Poll") + } +] # add the htmlcode in the Variable NOTICE to the startpage # Example: displays all available Polls |