tag for loading css
* @param string $href the source URL, ignored when empty
* @param string $opts, additional optional options
*/
function emit_css_tag($href, $opts = '') {
$s = '\n");
}
/**
* Prints all tags for CSS loading
* @param array $obj all the script information from template
*/
function emit_css_loading_tags($obj) {
foreach ($obj['cssfiles'] as $css) {
emit_css_tag($css);
}
foreach ($obj['printcssfiles'] as $css) {
emit_css_tag($css, 'media="print"');
}
}
/**
* Prints a ';
print_unescaped($s."\n");
}
/**
* Print all