template
template copied to clipboard
Mapblock improvement (#48)
Fixes #48.
Usage example:
$tpl->mapBlock('BLOCK_USERS', 'USER', $users);
is same as:
foreach($users as $u) {
$tpl->USER = $u;
$tpl->block('BLOCK_USERS');
}
Still missing a mention on README.