This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/smarty/plugins/block.account.php
2008-11-26 14:50:40 -08:00

20 lines
471 B
PHP

<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* File: block.account.php
* Type: block
* Name: account
* Purpose: display an account field
* -------------------------------------------------------------
*/
function smarty_block_account($params, $resource, &$smarty)
{
$resource = trim($resource);
if ($resource != '')
{
global $C_list;
echo $C_list->account($resource);
}
}
?>