2010-09-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added style parameter to the print_extended_select_for_time function git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3273b653ae
commit
6cd20eebe5
|
@ -1,3 +1,8 @@
|
|||
2010-09-28 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_html.php: Added style parameter to the
|
||||
print_extended_select_for_time function
|
||||
|
||||
2010-09-27 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/events/sound_events.php: fixed the ajax check for when start
|
||||
|
|
|
@ -378,7 +378,7 @@ function print_select_from_sql ($sql, $name, $selected = '', $script = '', $noth
|
|||
*/
|
||||
|
||||
function print_extended_select_for_time ($fields, $name, $selected = '', $script = '', $nothing = '',
|
||||
$nothing_value = '0', $size = false, $return = false) {
|
||||
$nothing_value = '0', $size = false, $return = false, $select_style = false) {
|
||||
|
||||
if (($selected !== false) && (!isset($fields[$selected]))) {
|
||||
$fields[$selected] = human_time_description_raw($selected,true);
|
||||
|
@ -387,7 +387,7 @@ function print_extended_select_for_time ($fields, $name, $selected = '', $script
|
|||
ob_start();
|
||||
|
||||
print_select ($fields, $name . '_select', $selected,"javascript: $('#text-" . $name . "').val($('#" . $name . "_select').val());" . $script,
|
||||
$nothing, $nothing_value, false, false, false);
|
||||
$nothing, $nothing_value, false, false, false, '', false, $select_style);
|
||||
print_input_text ($name, $selected, '', $size);
|
||||
|
||||
$returnString = ob_get_clean();
|
||||
|
|
Loading…
Reference in New Issue