-<?
+<?php
# See skin.doc
class SkinStandard extends Skin {
function getHeadScripts()
{
- global $wgStyleSheetPath;
+ global $wgStylePath;
$s = parent::getHeadScripts();
if ( 3 == $this->qbSetting() ) { # Floating left
$s .= "<script language='javascript' type='text/javascript' " .
- "src='{$wgStyleSheetPath}/sticky.js'></script>\n";
+ "src='{$wgStylePath}/sticky.js'></script>\n";
}
return $s;
}
function getUserStyles()
{
- global $wgStyleSheetPath;
-
- $s = parent::getUserStyles();
+ global $wgStylePath;
+ $s = '';
if ( 3 == $this->qbSetting() ) { # Floating left
- $s .= "<style type='text/css' media='screen'>\n" .
- "@import '{$wgStyleSheetPath}/quickbar.css';\n</style>\n";
+ $s .= "<style type='text/css'>\n" .
+ "@import '{$wgStylePath}/quickbar.css';\n</style>\n";
}
+ $s .= parent::getUserStyles();
return $s;
}
function doGetUserStyles()
{
- global $wgUser, $wgOut, $wgStyleSheetPath;
+ global $wgUser, $wgOut, $wgStylePath;
$s = parent::doGetUserStyles();
$qb = $this->qbSetting();