aboutsummaryrefslogtreecommitdiff
path: root/config.rb.sample
blob: e050a281c18d0fb7acb3a54f94a249754e8f869b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Choose your favorite version control system
load "bzr.rb"

# Change this if the url is not determined correctly
SITEURL = "http://#{$cgi.server_name}#{$cgi.script_name.gsub(/[^\/]*$/,"")}"

# add this htmlcode to the startpage
NOTICE = <<CHARSET
<fieldset><legend>Sandbox</legend>
	If you want to play around with the Tool, you may want to take a look at these two Example Polls:<br />
	<a href='#{SITEURL}EventScheduleExample'>Event Schedule Poll</a><br />
	<a href='#{SITEURL}NormalExample'>Normal Poll</a>	
</fieldset>
<fieldset><legend>--verbose</legend>
Get the sourcecode with <a href="http://bazaar-vcs.org/">bazaar</a>:
<br />
bzr branch #{SITEURL} dudle
<br />
<a href="mailto:Benjamin_dot_Kellermann@tu-dresden_in_germany?subject=Feedback to dudle">give feedback</a>
</fieldset>
CHARSET