* Add closing / to link and meta elements only after switching to xhtml 1.0 Transitional.
* It is not compatible with html 4.01 Transitional
*/
- $templateid=basename($sTplDir);
+ $templatedir=basename($sTplDir);
$oTemplate->assign('base_uri',$base_uri);
- $oTemplate->assign('templateid',$templateid);
+ $oTemplate->assign('templatedir',$templatedir);
$oTemplate->assign('themeid',$used_theme);
$oTemplate->display('stylelink.tpl');
echo '<link rel="stylesheet" type="text/css" href="'. $base_uri .'src/style.php'
.'?themeid='.$used_theme
- .'&templateid='.$templateid
+ .'&templatedir='.$templatedir
.(!empty($used_fontset) ? '&fontset='.$used_fontset : '')
.(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '')
.(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n";