From 1faedb1e093d5490d578e86c908fd38cf19a54a5 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sat, 27 May 2000 14:04:06 +0000 Subject: [PATCH] initial --- Makefile | 26 +++++++++++ Styles/Makefile | 1 + Styles/addresses.inc | 14 ++++++ Styles/basic.style | 35 ++++++++++++++ Styles/quote.style | 32 +++++++++++++ bin/fixsuffix | 24 ++++++++++ bin/wmldepend.sh | 54 ++++++++++++++++++++++ src/Makefile | 29 ++++++++++++ src/index-tools.pl | 103 ++++++++++++++++++++++++++++++++++++++++++ src/index.html.de.wml | 81 +++++++++++++++++++++++++++++++++ src/index.html.en.wml | 79 ++++++++++++++++++++++++++++++++ 11 files changed, 478 insertions(+) create mode 100644 Makefile create mode 100644 Styles/Makefile create mode 100644 Styles/addresses.inc create mode 100644 Styles/basic.style create mode 100644 Styles/quote.style create mode 100755 bin/fixsuffix create mode 100755 bin/wmldepend.sh create mode 100644 src/Makefile create mode 100644 src/index-tools.pl create mode 100644 src/index.html.de.wml create mode 100644 src/index.html.en.wml diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..64bf2b1c --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +DEST = /var/lib/webspace/www.infodrom.ffis.de + +TEST = $(HOME)/public_html/infodrom + +FILES = --exclude "CVS/" --exclude "*imgdot-1x1-transp.gif" --include "*/" +FILES+= --include "*.jpg" --include "*.html" --include "*.shtml" --include "*.php3" --include "*.gif" +FILES+= --exclude "*" + +build: + cd src && make all + +test: + test -d $(TEST) || mkdir $(TEST) + rsync -lptr $(FILES) src/ $(TEST)/ +# cd src && for f in *.html; do cp $$f $(TEST)/$$f; done + +install: + test -d $(DEST) || mkdir $(DEST) + rsync -lptr $(FILES) src/ $(DEST)/ +# cd src && for f in *.html; do cp $$f $(DEST)/$$f; done + +clean: + -rm -f `find -name '*~'` `find -name '.?*.swp'` + -cd src && make clean + -cd Styles && make clean + diff --git a/Styles/Makefile b/Styles/Makefile new file mode 100644 index 00000000..ad6a457e --- /dev/null +++ b/Styles/Makefile @@ -0,0 +1 @@ +clean: diff --git a/Styles/addresses.inc b/Styles/addresses.inc new file mode 100644 index 00000000..b21d2948 --- /dev/null +++ b/Styles/addresses.inc @@ -0,0 +1,14 @@ + + + + +Martin Schulze"> + + + + + + +Webmaster"> + + diff --git a/Styles/basic.style b/Styles/basic.style new file mode 100644 index 00000000..23f474d5 --- /dev/null +++ b/Styles/basic.style @@ -0,0 +1,35 @@ + +# Global color definition +# +#39dff7 +ffffff +00000000 + + + +80CCF8 +68A4C8 +008dfd +008dfd + +1014e8 + +# Page footer +# + +
© Infodrom Oldenburg, <: +@months = +# ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); + ("Dummy", "Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"); + +#($date_sec,$date_min,$date_hour,$date_mday,$date_mon,$date_year,$date_wday,$date_isdst) +# = localtime(); $date_year += 1900; +#printf "%d %s %d", $date_mday, $months[$date_mon], $date_year; + +"" =~ /^(\d+)-(\d+)-(\d+)\s/; + +printf "Last modified: %d. %s %d", $1, $months[$2], $3; +:>
+
+ + diff --git a/Styles/quote.style b/Styles/quote.style new file mode 100644 index 00000000..45e8dbd9 --- /dev/null +++ b/Styles/quote.style @@ -0,0 +1,32 @@ +#use wml::std::box + +# Quote of the day boxes +# +# quotebox-de-shtml +# quotebox-en-shtml +# quotebox-de-php +# quotebox-en-php +# + +# FIXME: Schöner wäre es, wenn ich %0 == "" -> .fortune, sonst %0 abfragen könnte + + + Zitat des Tages" + bdcolor="#" bdwidth=2 bdspace=10 + bgcolor="#" + width=500> + + + + + + + + Quote of the day" + bdcolor="#" bdwidth=2 bdspace=10 + bgcolor="#"> + + + + + diff --git a/bin/fixsuffix b/bin/fixsuffix new file mode 100755 index 00000000..8f6f338f --- /dev/null +++ b/bin/fixsuffix @@ -0,0 +1,24 @@ +#! /bin/bash + +# Fixes file suffix +# +# .html -> .shtml +# Require "