* Purpose: Prints the dropdowns for time selection
* @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time}
* (Smarty online manual)
+ * @author Roberto Berto <roberto@berto.net>
+ * @credits Monte Ohrt <monte AT ohrt DOT com>
* @param array
* @param Smarty
* @return string
$html_result .= ' ' . $all_extra;
}
$html_result .= '>'."\n";
-
+
$html_result .= smarty_function_html_options(array('output' => $minutes,
'values' => $minutes,
'selected' => $selected,
} else {
$html_result .= '"' . $prefix . 'Second"';
}
-
+
if (null !== $second_extra){
$html_result .= ' ' . $second_extra;
}
$html_result .= ' ' . $all_extra;
}
$html_result .= '>'."\n";
-
+
$html_result .= smarty_function_html_options(array('output' => $seconds,
'values' => $seconds,
'selected' => $selected,
} else {
$html_result .= '"' . $prefix . 'Meridian"';
}
-
+
if (null !== $meridian_extra){
$html_result .= ' ' . $meridian_extra;
}
$html_result .= ' ' . $all_extra;
}
$html_result .= '>'."\n";
-
+
$html_result .= smarty_function_html_options(array('output' => array('AM', 'PM'),
'values' => array('am', 'pm'),
'selected' => strtolower(strftime('%p', $time)),