projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9acb3d2
)
Set charset in left frame
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 24 Oct 2007 00:17:24 +0000
(
00:17
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 24 Oct 2007 00:17:24 +0000
(
00:17
+0000)
blue-theme/left.cgi
patch
|
blob
|
history
diff --git
a/blue-theme/left.cgi
b/blue-theme/left.cgi
index
c17c95b
..
4e8c596
100755
(executable)
--- a/
blue-theme/left.cgi
+++ b/
blue-theme/left.cgi
@@
-16,7
+16,8
@@
if (defined($cats{''})) {
}
@cats = sort { ($b eq "others" ? "" : $b) cmp ($a eq "others" ? "" : $a) } keys %cats;
-&PrintHeader();
+$charset = defined($force_charset) ? $force_charset : &get_charset();
+&PrintHeader($charset);
print <<EOF;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>