{
global $hidden_fields;
- echo implode('', $hidden_fields);
+ if (is_array($hidden_fields))
+ echo implode('', $hidden_fields);
$hidden_fields = array();
}
//---------------------------------------------------------------------------------
if ($number > 1)
{
echo "</table>\n";
+ output_hidden();
$width = ($width ? "width='$width'" : "");
//echo "</td><td class='tableseparator' $width>\n"; // outer table
echo "</td><td style='border-left:1px solid #cccccc;' $width>\n"; // outer table
function end_outer_table($breaks=0, $close_table=true)
{
if ($close_table)
+ {
echo "</table>\n";
+ output_hidden();
+ }
echo "</td></tr>\n";
end_table($breaks);
}
{
global $ajax_divs, $Ajax;
+ output_hidden();
if (count($ajax_divs))
{
$div = array_pop($ajax_divs);
if ($div[1] !== null)
$Ajax->addUpdate($div[1], $div[0], ob_get_flush());
- echo "</div>";
}
+ echo "</div>";
}
//-----------------------------------------------------------------------------
}
function tabbed_content_end() {
+ output_hidden();
echo "</div>"; // content box (don't change to div_end() unless div_start() is used above)
div_end(); // tabs widget
}