mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
no longer needed here. ;)
git-svn-id: file:///svn/phpbb/trunk@5198 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a7459cbe08
commit
1b331f3dd6
1 changed files with 0 additions and 25 deletions
|
@ -440,31 +440,6 @@ switch ($mode)
|
||||||
//
|
//
|
||||||
// LITTLE HELPER
|
// LITTLE HELPER
|
||||||
|
|
||||||
/**
|
|
||||||
* Build simple hidden fields from array
|
|
||||||
*/
|
|
||||||
function build_hidden_fields($field_ary)
|
|
||||||
{
|
|
||||||
$s_hidden_fields = '';
|
|
||||||
|
|
||||||
foreach ($field_ary as $name => $vars)
|
|
||||||
{
|
|
||||||
if (is_array($vars))
|
|
||||||
{
|
|
||||||
foreach ($vars as $key => $value)
|
|
||||||
{
|
|
||||||
$s_hidden_fields .= '<input type="hidden" name="' . $name . '[' . $key . ']" value="' . $value . '" />';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$s_hidden_fields .= '<input type="hidden" name="' . $name . '" value="' . $vars . '" />';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $s_hidden_fields;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get simple topic data
|
* Get simple topic data
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue