Myslalem, ze skoro mowie, ze w musze w tpl umiescic kod java otwierajacy nowe okno to bedzie to wygladalo tak:
tpl
<script language="JavaScript" type="text/JavaScript"> <!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
// kod html szablonu ...
no a z php wyswietlam ten tpl $smarty->display('nazwa.tpl');
a error:
Fatal error: Smarty error: [in nazwa.tpl line 4]: syntax error: unrecognized tag: //v2.0 window.open(theURL,winName,features); (Smarty_Compiler.class.php, line 446) in C:\Program Files\xampp\htdocs\CMS\smarty\libs\Smarty.class.php on line 1092