Simple block function

From: Date: Wed, 11 Sep 2002 19:45:44 +0000
Subject: Simple block function
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5963@lists.php.net to get a copy of this message
Here's a simple block function that was inspired by asp.net's datalist control. Used in a section, or a foreach, all this function does is display a separator (such as a 1 pixel line) between rows. Of course, it doesn't have to be a table row, but that would be the most common usage. This code is free to use and redistribute as long as the author info remains. An example of its use is included in the file.

Attachment: [application/x-httpd-php] block.separator.php
« previous php.smarty.general (#5963) next »