aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/timepicker.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/timepicker.php')
-rw-r--r--views/default/input/timepicker.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/timepicker.php b/views/default/input/timepicker.php
index 35fa5ac98..faadd6450 100644
--- a/views/default/input/timepicker.php
+++ b/views/default/input/timepicker.php
@@ -1,6 +1,6 @@
<?php
-$time_format = get_plugin_setting('timeformat', 'event_calendar');
+$time_format = elgg_get_plugin_setting('timeformat', 'event_calendar');
if (!$time_format) {
$time_format = 24;
}
@@ -32,7 +32,7 @@ for($i=0;$i<60;$i=$i+5) {
$minutes[$i+1] = sprintf("%02d",$i);
}
-echo elgg_view('input/pulldown',array('internalname'=>$vars['internalname'].'_h','value'=>$hour,'options_values'=>$hours));
-echo elgg_view('input/pulldown',array('internalname'=>$vars['internalname'].'_m','value'=>$minute,'options_values'=>$minutes));
+echo elgg_view('input/dropdown',array('name'=>$vars['name'].'_h','value'=>$hour,'options_values'=>$hours));
+echo elgg_view('input/dropdown',array('name'=>$vars['name'].'_m','value'=>$minute,'options_values'=>$minutes));
?> \ No newline at end of file