From ac9af6eb4f37e1e832923d7a490c64fafad760bf Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Tue, 24 Nov 2009 13:21:19 +0100 Subject: remove fieldsets from startpage --- config_sample.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'config_sample.rb') diff --git a/config_sample.rb b/config_sample.rb index 371db2a..e53c2a8 100644 --- a/config_sample.rb +++ b/config_sample.rb @@ -26,8 +26,11 @@ SITEURL = "http://#{$cgi.server_name}#{$cgi.script_name.gsub(/[^\/]*$/,"")}" # add the htmlcode in the Variable NOTICE to the startpage # Example 1: displays all available Polls notice = <Available Polls - +

Available Polls

+
PollLast change
+ + + NOTICE Dir.glob("*/data.yaml").sort_by{|f| File.new(f).mtime @@ -39,14 +42,13 @@ Dir.glob("*/data.yaml").sort_by{|f| NOTICE } -notice += "
PollLast change
" +notice += "" # Example 2: displays a static text notice += <Examples +

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 - NOTICE NOTICE = notice -- cgit v1.2.3