$oTemplate->display('stylelink.tpl');
echo '<link rel="stylesheet" type="text/css" href="'. $base_uri .'src/style.php'
.'?themeid='.$used_theme
- .'&templatedir='.$templatedir
- .(!empty($used_fontset) ? '&fontset='.$used_fontset : '')
- .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '')
- .(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n";
+ .'&templatedir='.$templatedir
+ .(!empty($used_fontset) ? '&fontset='.$used_fontset : '')
+ .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '')
+ .(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n";
// load custom style sheet (deprecated)
if ( ! empty($theme_css) ) {
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$theme_css\">\n";
}
if( $javascript_on || strpos($sHeaderJs, 'new_js_autodetect_results.value') ) {
- $js_includes = $oTemplate->getJavascriptIncludes();
+ $js_includes = $oTemplate->get_javascript_includes(TRUE);
$sJsBlock = '';
foreach ($js_includes as $js_file) {
$sJsBlock .= '<script src="'.$js_file.'" type="text/javascript"></script>' ."\n";
}
$sJsBlock .= "\n";
- $js_includes = $oTemplate->getJavascriptIncludes();
+ $js_includes = $oTemplate->get_javascript_includes(TRUE);
foreach ($js_includes as $js_file) {
$sJsBlock .= '<script src="'.$js_file.'" type="text/javascript"></script>' ."\n";
}