summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-23 12:17:26 +0100
committerAlib <aliboba@free.fr>2010-02-23 12:17:26 +0100
commit985c547242d19e47075a7b1863b79b488928e73f (patch)
treea60eb20ebd63cb9f89de838afb02b45ac17c7cbb
parent2c67f31c6e8a53736bda05ab6088e0d340f6416d (diff)
downloadistreamdev-985c547242d19e47075a7b1863b79b488928e73f.tar.gz
istreamdev-985c547242d19e47075a7b1863b79b488928e73f.tar.bz2
readded "h" for hours
-rwxr-xr-xincludes/inc_edittimer.php4
-rwxr-xr-xjavascript/functions.js2
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 " <li class=\"menu\">";
print " <a class=\"noeffect\" href=\"javascript:openSelectTime('layer_starttime',{$smin}, {$ssec})\">\r\n";
-print " <span class=\"name\" id=\"layer_starttime\">{$smin}{$ssec}</span>";
+print " <span class=\"name\" id=\"layer_starttime\">{$smin}h{$ssec}</span>";
print " <span class=\"arrow\"></span>";
print " </a>";
print " </li>\r\n";
@@ -68,7 +68,7 @@ $emin = substr($etime, 0, 2);
$esec = substr($etime, 2);
print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:openSelectTime('layer_endtime',{$emin},{$esec})\">\r\n";
-print " <span class=\"name\" id=\"layer_endtime\">{$emin}{$esec}</span><span class=\"arrow\"></span></a></li>\r\n";
+print " <span class=\"name\" id=\"layer_endtime\">{$emin}h{$esec}</span><span class=\"arrow\"></span></a></li>\r\n";
print " </ul>\r\n";
print "<input name=\"action\" type=\"hidden\" id=\"action\" value=\"addtimer\"/>\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();
}