From: Joey Schulze Date: Sat, 3 Jun 2000 08:58:41 +0000 (+0000) Subject: . HTML-Tabellen korrigieren (wml::std::box) mit fix-Target X-Git-Tag: www-infodrom-ffis-de_2001-01-04~10 X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Fwww.infodrom.org;a=commitdiff_plain;h=784e5946beedb7fbd3cafb3cd5af5c27dbccf3c4 . HTML-Tabellen korrigieren (wml::std::box) mit fix-Target . eingeführt . fixhtml korrigiert, hat kein PHP erkannt... . News hinzugefügt, als Verzeichnis und als Menü . Schriftgröße im Hauptmenü heruntergeschraubt . root_prefix eingebaut (dat fehlte...) --- diff --git a/Makefile b/Makefile index 64bf2b1c..c96ae7a6 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,13 @@ test: rsync -lptr $(FILES) src/ $(TEST)/ # cd src && for f in *.html; do cp $$f $(TEST)/$$f; done -install: +fix: + for f in src/index.*.shtml; do \ + sed 's/width="40"/width="190"/' < $$f > tmp; \ + mv -f tmp $$f; \ + done + +install: fix test -d $(DEST) || mkdir $(DEST) rsync -lptr $(FILES) src/ $(DEST)/ # cd src && for f in *.html; do cp $$f $(DEST)/$$f; done @@ -23,4 +29,3 @@ clean: -rm -f `find -name '*~'` `find -name '.?*.swp'` -cd src && make clean -cd Styles && make clean - diff --git a/Styles/basic.style b/Styles/basic.style index 23f474d5..330339ee 100644 --- a/Styles/basic.style +++ b/Styles/basic.style @@ -14,6 +14,9 @@ 1014e8 +*mehr* +\"*mehr*\" + # Page footer # @@ -32,4 +35,16 @@ printf "Last modified: %d. %s %d", $1, $months[$2], $3; :> +# ========== Abstand berechnen ========== +# in ePerl: $root_prefix +# in WML: +<: + $root_prefix = ""; + $root_prefix =~ s/^.*src\/?(.*)$/$1/; + @foo = split (/\//, $root_prefix); + $root_prefix = "../"x($#foo+1); +:> +> + <: print "$root_prefix"; :> + <: $root_var = "" :>> diff --git a/bin/fixsuffix b/bin/fixsuffix index 8f6f338f..e639d8be 100755 --- a/bin/fixsuffix +++ b/bin/fixsuffix @@ -15,7 +15,7 @@ do base=${f%.html} mv -f $f $base.shtml else - if grep -q '