'."\n";
$html_result .= tpl_function_html_options(array('output' => $hours,
'values' => $hours,
'selected' => strftime($hour_fmt, $time),
'print_result' => false),
$template_object);
$html_result .= "\n";
}
if ($display_minutes)
{
$all_minutes = range(0, 59);
for ($i = 0, $for_max = count($all_minutes); $i < $for_max; $i+= $minute_interval)
{
$minutes[] = sprintf('%02d', $all_minutes[$i]);
}
$selected = intval(floor(strftime('%M', $time) / $minute_interval) * $minute_interval);
$html_result .= '\n";
}
if ($display_seconds)
{
$all_seconds = range(0, 59);
for ($i = 0, $for_max = count($all_seconds); $i < $for_max; $i+= $second_interval)
{
$seconds[] = sprintf('%02d', $all_seconds[$i]);
}
$selected = intval(floor(strftime('%S', $time) / $second_interval) * $second_interval);
$html_result .= '\n";
}
if ($display_meridian && !$use_24_hours)
{
$html_result .= '\n";
}
return $html_result;
}
?>