From: fox_two <> Date: Mon, 4 Jun 2001 12:30:33 +0000 (+0000) Subject: -n/a- X-Git-Url: https://git.p6c8.net/selfforum.git/commitdiff_plain/5c8a814d80027a517d1094008d6af063457fc6eb -n/a- --- diff --git a/selfforum-cgi/shared/Encode/Plain.pm b/selfforum-cgi/shared/Encode/Plain.pm index f2085ce..17c749c 100644 --- a/selfforum-cgi/shared/Encode/Plain.pm +++ b/selfforum-cgi/shared/Encode/Plain.pm @@ -255,17 +255,17 @@ sub toUTF8 ($) { ? $$ref : $ref; - if ($v56) { - no warnings 'utf8'; - $string =~ tr/\x80-\xff//CU; - } - else { +# if ($v56) { +# no warnings 'utf8'; +# $string =~ tr/\x80-\xff//CU; +# } +# else { $string =~ s {([\x80-\xff])} { chr((ord ($1) >> 6) | 192) .chr((ord ($1) & 191)) }eg; - } +# } ref($ref) ? \$string @@ -531,4 +531,4 @@ BEGIN { # # -### end of Encode::Plain ####################################################### \ No newline at end of file +### end of Encode::Plain ####################################################### diff --git a/selfforum-cgi/shared/Template/_thread.pm b/selfforum-cgi/shared/Template/_thread.pm index 3f00ad2..5f105a6 100644 --- a/selfforum-cgi/shared/Template/_thread.pm +++ b/selfforum-cgi/shared/Template/_thread.pm @@ -70,7 +70,9 @@ sub html_thread ($$$) { $temp -> {subject} => $_ -> {subject}, $temp -> {cat} => $_ -> {cat}, $temp -> {time} => plain(short_hr_time ($_ -> {time})), - $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}) + $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}), + $temp -> {tid} => $tid, + $temp -> {mid} => $_ -> {mid}, }, $par -> {addParam} )} . @@ -90,7 +92,9 @@ sub html_thread ($$$) { $temp -> {subject} => $_ -> {subject}, $temp -> {cat} => $_ -> {cat}, $temp -> {time} => plain(short_hr_time ($_ -> {time})), - $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}) + $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}), + $temp -> {tid} => $tid, + $temp -> {mid} => $_ -> {mid}, }, $par -> {addParam} )}. @@ -134,7 +138,9 @@ sub html_thread ($$$) { $temp -> {subject} => $_ -> {subject}, $temp -> {cat} => $_ -> {cat}, $temp -> {time} => plain(short_hr_time ($_ -> {time})), - $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}) + $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}), + $temp -> {tid} => $tid, + $temp -> {mid} => $_ -> {mid}, }, $par -> {addParam} )}. @@ -153,7 +159,9 @@ sub html_thread ($$$) { $temp -> {subject} => $_ -> {subject}, $temp -> {cat} => $_ -> {cat}, $temp -> {time} => plain(short_hr_time ($_ -> {time})), - $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}) + $temp -> {link} => query_string({$t => $tid, $p => $_ -> {mid}}), + $temp -> {tid} => $tid, + $temp -> {mid} => $_ -> {mid}, }, $par -> {addParam} )}.