kod html {php} require_once('recaptchalib.php'); $publickey = "6LfQuL4SAAAAAITEaz7FuK_1QAJKSaEDvM4rkxyg"; // you got this from the signup page echo recaptcha_get_html($publickey); {/php} kod html
Fatal error: Uncaught exception 'SmartyException' with message '{php} is deprecated, set allow_php_tag = true to enable' in /home/wcislak2/domains/web-talk.pl/public_html/user/libs/plugins/block.php.php:21 Stack trace: #0 /home/wcislak2/domains/web-talk.pl/public_html/user/templates_c/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.php(107): smarty_block_php(Array, NULL, Object(Smarty_Internal_Template), true) #1 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/sysplugins/smarty_internal_template.php(422): include('/home/wcislak2/...') #2 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/sysplugins/smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #3 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #4 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/Smarty.class.php(379): Smarty->fetch('index.tpl', NULL, NULL, NULL, true) #5 /home/wcislak2/domains/web-talk.pl/public_html/user/index.php( in /home/wcislak2/domains/web-talk.pl/public_html/user/libs/plugins/block.php.php on line 21
dlaczego nie chce działać kod php w szablonie tpl, a znajduje się z odpowiednim znaczniku?