(http://smarty.php.net/manual/en/language.builtin.functions.php#language.function.capture)
- Kod: Zaznacz cały
{* we don't want to print a div tag unless content is displayed *}
{capture name=banner}
{include file='get_banner.tpl'}
{/capture}
{if $smarty.capture.banner ne ''} {* ooo tutaj *}
<div id="banner">{$smarty.capture.banner}</div>
{/if}
Czy mógłby ktoś mi powiedzieć co oznacza ne, które zaznaczyłemw kodzie, tego tam nigdzie nie moge znaleźć
Pozdrawiam,
Armon



