From 0bd2177cb1708daf68c2f611cbdd5eed5721db3f Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Mon, 2 May 2011 15:32:57 +0200 Subject: added possibility to add own header/footer --- dudle.rb | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'dudle.rb') diff --git a/dudle.rb b/dudle.rb index a511c7a..9780ab3 100644 --- a/dudle.rb +++ b/dudle.rb @@ -170,11 +170,10 @@ class Dudle @html << <
-
-
-
-
-
+HEAD + $conf.header.each{|h| @html << h } + + @html << < #{tabs_to_html(@tab)} @@ -251,13 +250,7 @@ READY @html << "" # languageChooser @html << "" # main - @html << < -
-
-
-
-FOOT + $conf.footer.each{|f| @html << f } @extensions.each{|e| if File.exists?("#{@basedir}/extensions/#{e}/main.rb") $current_ext_dir = e -- cgit v1.2.3