aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2011-08-30 17:52:12 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2011-08-30 17:52:12 +0200
commit6b20e80c9d577a3eeeb570a6d9fd706fe619709b (patch)
treececec3ee8ed121617500c6601bbeb407aed99754 /views/default/input
parent2557245a41579a15dd960e2033f4d5f39ff566ac (diff)
downloadelgg-6b20e80c9d577a3eeeb570a6d9fd706fe619709b.tar.gz
elgg-6b20e80c9d577a3eeeb570a6d9fd706fe619709b.tar.bz2
a few small fixes
Diffstat (limited to 'views/default/input')
-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