From: Nishi Date: Wed, 2 Oct 2024 09:29:41 +0000 (+0000) Subject: fixed ie6 bug somehow X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=29f11a28f1636e6fb225bdba988a146dc73659cb;p=koakuma.git fixed ie6 bug somehow git-svn-id: file:///raid/svn-personal/koakuma/trunk@33 219d0f9c-2d94-d447-890a-813e76b88fe9 --- diff --git a/koakuma.cgi.in b/koakuma.cgi.in index 7c265bf..3f0f627 100644 --- a/koakuma.cgi.in +++ b/koakuma.cgi.in @@ -232,8 +232,10 @@ proc close_projects {} { file delete "@@PREFIX@@/lib/koakuma/db/projects.lock" } +set what "" + proc start_html {title has_toc} { - global toc env koakuma_png css + global toc env koakuma_png css what rputs "" rputs "" rputs " " @@ -278,6 +280,7 @@ proc start_html {title has_toc} { } rputs "
" rputs "

$title

" + rputs " $what" rputs "
" } proc end_html {has_toc} { @@ -318,6 +321,7 @@ if { [catch { rputs "Content-Type: text/html" } if { "$path" == "/" } { + set what "This is the main page." set has_projects 0 add_toc "Projects" open_projects @@ -619,6 +623,7 @@ if { [catch { if { "$has_project" != "" } { if { "$projpath" == "" || "$projpath" == "/" } { + set what "This is the project page." add_toc "Description" tputs "[html_escape "$has_project"]" add_toc "Details"