dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b1395
)
Hide the styles from Netscape 4 without hiding them from IE/Mac -- Microsoft are...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 25 Feb 2004 08:45:56 +0000
(08:45 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 25 Feb 2004 08:45:56 +0000
(08:45 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
f3d0558
..
ba5c4d7
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-132,9
+132,9
@@
class Skin {
}
$s = "<style type='text/css'><!--\n";
$s .= "@import url(\"$wgStyleSheetPath/$sheet\");\n";
- $s .= "
@media screen {\n";
+ $s .= "
/*/*/\n"; # <-- Hide the styles from Netscape 4 without hiding them from IE/Mac
$s .= $this->doGetUserStyles();
- $s .= "
}
\n";
+ $s .= "
/* */
\n";
$s .= "//--></style>\n";
return $s;
}