From 985c547242d19e47075a7b1863b79b488928e73f Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Feb 2010 12:17:26 +0100 Subject: readded "h" for hours --- includes/inc_edittimer.php | 4 ++-- javascript/functions.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php index f71202c..6f8a82f 100755 --- a/includes/inc_edittimer.php +++ b/includes/inc_edittimer.php @@ -56,7 +56,7 @@ $ssec = substr($stime, 2); print "
  • "; print " \r\n"; -print " {$smin}{$ssec}"; +print " {$smin}h{$ssec}"; print " "; print " "; print "
  • \r\n"; @@ -68,7 +68,7 @@ $emin = substr($etime, 0, 2); $esec = substr($etime, 2); print "
  • \r\n"; -print " {$emin}{$esec}
  • \r\n"; +print " {$emin}h{$esec}\r\n"; print " \r\n"; print "\r\n"; diff --git a/javascript/functions.js b/javascript/functions.js index 428bcbe..4579590 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -121,7 +121,7 @@ function openSelectTime(layer,timer_hour,timer_minute) { SpinningWheel.addSlot(minutes, '', now_minute); SpinningWheel.setCancelAction( function() {} ); - SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join('');if ( layer == 'layer_starttime' ) { var forminput = 'timer_starttime'; } else { var forminput = 'timer_endtime'; }; eval ("document.timer." + forminput + ".value = results.keys.join('')"); }); + SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join('h');if ( layer == 'layer_starttime' ) { var forminput = 'timer_starttime'; } else { var forminput = 'timer_endtime'; }; eval ("document.timer." + forminput + ".value = results.keys.join('')"); }); SpinningWheel.open(); } -- cgit v1.2.3