<?php 
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * Smarty {forminput} block plugin
 *
 * Type:     block
 * Name:     forminput
 */
function smarty_block_forminput($params, $content, &$gBitSmarty) {
	if( $content ) {
		$ret = '<div class="forminput'.( isset( $params['class'] ) ? ' '.$params['class'] : '' ).'">'.$content.'</div>';
		return $ret;
	}
}
?>
