24 lines
No EOL
499 B
PHP
24 lines
No EOL
499 B
PHP
<?php
|
|
|
|
/*
|
|
* insert.formaddinputpart.php
|
|
*
|
|
* @(#) $Header: /opt2/ena/metal/forms/smarty/2/plugins/insert.formaddinputpart.php,v 1.1 2003/03/20 02:52:03 mlemos Exp $
|
|
*
|
|
*/
|
|
|
|
function smarty_insert_formaddinputpart($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->AddInputPart($params['input']);
|
|
return '';
|
|
}
|
|
|
|
?>
|