-20,17 +22,25 |
{{{#!vim perl |
### 다음 함수를 통채로 추가 |
sub DoTitleIndex { |
my (@list); |
my $index; |
print "Content-type: text/plain\n\n"; |
my (@list, $page); |
my $charset = &GetParam("charset", "$HttpCharset"); |
|
print "Content-type: text/plain; charset=$charset\n\n"; |
|
@list = &AllPagesList(); |
foreach $index (@list) { |
print $index."\r\n"; |
if ($charset ne $HttpCharset) { |
@list = split(/!/, &convert_encode(join('!',@list), "$HttpCharset", "$charset")); |
} |
foreach $page (@list) { |
print $page."\n"; |
} |
} |
}}} |
|
=== # 추가 업데이트 내역 === |
ext2.4 - URL에 charset 파라메터를 별도로 받을 수 있게 함. |
|
=== # 사용자 의견 === |
<longcomments(100)> |
---- |
[[위키위키분류]] |
|