Location: PHPKode > scripts > Forms generation and validation > forms-generation-and-validation/plugins/insert.formaddinputhiddenpart.php
<?php

/*
 * insert.formaddinputhiddenpart.php
 *
 * @(#) $Header: /home/mlemos/cvsroot/PHPlibrary/plugins/insert.formaddinputhiddenpart.php,v 1.1 2003/03/20 02:53:19 mlemos Exp $
 *
 */

function smarty_insert_formaddinputhiddenpart($params, &$smarty)
{
	if(method_exists($smarty,'get_template_vars'))
	{
		$tpl_vars=&$smarty->get_template_vars();
		$form=&$tpl_vars['form'];
	}
	else
		$form=&$smarty->_tpl_vars['form'];
	$form->AddDataPart($params['data']);
	$form->AddInputHiddenPart($params['input']);
	return '';
}

?>
Return current item: Forms generation and validation