Index: trunk/phase3/skins/Vector.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | // wait for the CSS file to load before fetching the HTC file. |
37 | 37 | $out->addScript( |
38 | 38 | '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' . |
39 | | - $wgLocalStylePath . |
| 39 | + htmlspecialchars($wgLocalStylePath) . |
40 | 40 | '/vector/csshover.htc")}</style><![endif]-->' |
41 | 41 | ); |
42 | 42 | } |
— | — | @@ -70,7 +70,7 @@ |
71 | 71 | * @private |
72 | 72 | */ |
73 | 73 | function buildNavigationUrls() { |
74 | | - global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle, $wgStylePath; |
| 74 | + global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle |
75 | 75 | global $wgDisableLangConversion, $wgVectorUseIconWatch; |
76 | 76 | |
77 | 77 | wfProfileIn( __METHOD__ ); |
— | — | @@ -676,7 +676,7 @@ |
677 | 677 | * when UI is in RTL mode |
678 | 678 | */ |
679 | 679 | private function renderNavigation( $elements ) { |
680 | | - global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgStylePath; |
| 680 | + global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName; |
681 | 681 | |
682 | 682 | // If only one element was given, wrap it in an array, allowing more |
683 | 683 | // flexible arguments |