X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=dohtml;h=95d786fabc3c9b95b7ee814da5a0319a51e3d2ea;hp=8315a3820f38e66cc869f72032a82f51c7a3b0f2;hb=62fac5ff5f87cd4844d2236dfa7c2a6d7f924e29;hpb=cacc5a454e15350dc4aa9defa90ed7425683854a diff --git a/dohtml b/dohtml index 8315a38..95d786f 100755 --- a/dohtml +++ b/dohtml @@ -30,10 +30,17 @@ Please contact EOF } +html_closing_tags() { + cat < + +EOF +} + realmakepage() { local filter="$1" # Distributions to list local title="$2" # Title of page - local date="$3" # Date + local date_time="$3" # Date local worry="$4" # Worry about testing only? local descr # Description of filter @@ -46,7 +53,7 @@ realmakepage() { filter="$filter $worry" - html_header "$title" "$date" + html_header "$title" "$date_time" cat < - -EOF + html_closing_tags } makemainpage() { + local title="$1" # Title of page + local date_time="$2" # Date - header "$title" "$time" + header "$title" "$date_time" cat < $htmldir/index.html.new +makemainpage "$title" "$date_time" > $htmldir/index.html.new mv -f $htmldir/index.html.new $htmldir/index.html