diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-10-21 18:05:25 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-10-21 18:05:25 +0000 |
commit | 339867d283bf20e80ae362e42823f3e28ea7e3cf (patch) | |
tree | 025b7e649f6a954915e62ead6cf03e08003577db | |
parent | 1cccb4a2ad14a8f6e9d7dd79cc978f27b87de62f (diff) |
ausgabe der des aktuelen jahres-montats-tages
git-svn-id: svn://svn.cccv.de/engel-system@8 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-x | admin/shiftadd.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/admin/shiftadd.php b/admin/shiftadd.php index e8c1702d..a70c01fc 100755 --- a/admin/shiftadd.php +++ b/admin/shiftadd.php @@ -33,6 +33,8 @@ echo "Hallo ".$_SESSION['Nick'].",<br>\n"; if (!IsSet($action)) $action = "new"; +$Time = time()+3600+3600; + switch ($action){ case 'new': @@ -60,11 +62,11 @@ mehrere Schichten auf einmal erfasst werden: <tr><td><u>Zeit:</u></td></tr> <tr> <td align="right">Month.Jahr:</td> - <td><input type="ext" name="MonthJahr" size="7" value="2004-12"></td> + <td><input type="ext" name="MonthJahr" size="7" value="<?echo gmdate("Y-m", $Time)?>"></td> </tr> <tr> <td align="right">Beginn:</td> - <td>Date<input type="text" name="SDatum" size="5" value="27"> + <td>Date<input type="text" name="SDatum" size="5" value="<?echo gmdate("d", $Time)?>"> Time<input type="text" name="STime" size="5" value="10"></td> </tr> <tr> @@ -73,12 +75,12 @@ mehrere Schichten auf einmal erfasst werden: </tr> <tr> <td align="right">End:</td> - <td>Date<input type="text" name="EDatum" size="5" value="29"> + <td>Date<input type="text" name="EDatum" size="5" value="<?echo gmdate("d", $Time)?>"> Time<input type="text" name="ETime" size="5" value="12"></td> </tr> <tr> <td align="right">Länge in h:</td> - <td><input type="text" name="len" size="5" value="2"> (max 24h)</td> + <td><input type="text" name="len" size="5" value="2"></td> </tr> <tr> <td align="right">Sonderschichten ein:</td> |