more CDATAs

This commit is contained in:
didou
2004-03-29 01:49:20 +00:00
parent 9cb02bdb23
commit ad83ab2472

View File

@@ -122,8 +122,13 @@
(as is the case with some plugins bundled with Smarty), then the proper (as is the case with some plugins bundled with Smarty), then the proper
way to load the needed plugin is this: way to load the needed plugin is this:
</para> </para>
<programlisting> <programlisting role="php">
require_once $smarty->_get_plugin_filepath('function', 'html_options');</programlisting> <![CDATA[
<?php
require_once $smarty->_get_plugin_filepath('function', 'html_options');
?>
]]>
</programlisting>
<para> <para>
As a general rule, Smarty object is always passed to the plugins As a general rule, Smarty object is always passed to the plugins
as the last parameter (with two exceptions: modifiers do not get as the last parameter (with two exceptions: modifiers do not get