function theme_stylesheet_import in Drupal 4
Import a stylesheet using @import.
Parameters
$path: The path to the stylesheet.
$media: The media type to specify for the stylesheet
Return value
A string containing the HTML for the stylesheet import.
Related topics
3 theme calls to theme_stylesheet_import()
- chameleon_page in themes/
chameleon/ chameleon.theme - drupal_get_html_head in includes/
common.inc - Retrieve output to be displayed in the head tag of the HTML page.
- theme_get_styles in includes/
theme.inc - Return the HTML for a theme's stylesheets.
File
- includes/
theme.inc, line 852 - The theme system, which controls the output of Drupal.
Code
function theme_stylesheet_import($path, $media = 'all') {
return '<style type="text/css" media="' . $media . '">@import "' . $path . '";</style>';
}