diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-03 21:15:29 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-03 21:15:29 +0000 |
commit | 6ac183b6fec64135d149f9bb5899ae76fb187bb0 (patch) | |
tree | d04303af9f91ab087659af5ec3158182a7033348 | |
parent | cc1b8efaa32ac03ded291f20f273896b252be1bb (diff) |
bei shiftcreate wird jetzt - statt ; verwendet
git-svn-id: svn://svn.cccv.de/engel-system@194 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-x | www-ssl/admin/shiftadd.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/www-ssl/admin/shiftadd.php b/www-ssl/admin/shiftadd.php index 83022668..16a64675 100755 --- a/www-ssl/admin/shiftadd.php +++ b/www-ssl/admin/shiftadd.php @@ -44,7 +44,7 @@ if( !isset( $_SESSION['shiftadd.php']['SchichtName'])) $_SESSION['shiftadd.php']['ETime'] = "12"; $_SESSION['shiftadd.php']['len'] = "2"; $_SESSION['shiftadd.php']['NachtON'] = "OFF"; - $_SESSION['shiftadd.php']['len_night'] = "0;4;8;10;12;14;16;18;20;22;24"; + $_SESSION['shiftadd.php']['len_night'] = "00-04-08-10-12-14-16-18-20-22-24"; } // wenn werte übergeben in sesion eintragen if( !isset($_GET["NachtON"])) @@ -159,13 +159,11 @@ case 'newsave': $lenOrg = $_GET["len"]; if( $_GET["NachtON"] == "ON" ) { - $lenArrayDummy = explode( ";", $_GET["len_night"]); + $lenArrayDummy = explode( "-", $_GET["len_night"]); foreach ( $lenArrayDummy as $Temp ) { if( isset($Temp2) ) - { $lenArray[$Temp2] = $Temp-$Temp2; - } $Temp2 = $Temp; }//foreach @@ -195,9 +193,7 @@ case 'newsave': // define End time if( $_GET["NachtON"] == "ON" ) - { $_GET["len"] = $lenArray[$Time]; - } $TimeEnd = $Time+ $_GET["len"]; //Tagesüberschreitung |