How to make custerm block fuction like {literal}?
| From: | Hansuck Jo | Date: | Wed, 31 Jul 2002 05:18:18 +0000 |
| Subject: | How to make custerm block fuction like {literal}? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5527@lists.php.net to get a copy of this message | ||
Hello, All.
I write block plugin {highlight} that highlight PHP Code.
(this is very simple code.. :))
But, if this use without {literal}, this occur Error.
For Example,
{highlight}
{literal}
<?php
print "test highlight";
?>
{/literal}
{highlight}
I want to write {highlight} like {literal}.