From 5c8a814d80027a517d1094008d6af063457fc6eb Mon Sep 17 00:00:00 2001 From: fox_two <> Date: Mon, 4 Jun 2001 12:30:33 +0000 Subject: [PATCH] -n/a- --- selfforum-cgi/shared/Encode/Plain.pm | 14 +++++++------- selfforum-cgi/shared/Template/_thread.pm | 16 ++++++++++++---- 2 files changed, 19 insertions(+), 11 deletions(-) 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} )}. -- 2.34.1