wdenk | fe8c280 | 2002-11-03 00:38:21 +0000 | [diff] [blame] | 1 | <?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?> |
| 2 | <?php |
| 3 | // (C) Copyright 2001 |
| 4 | // Murray Jensen <Murray.Jensen@cmst.csiro.au> |
| 5 | // CSIRO Manufacturing Science and Technology, Preston Lab |
| 6 | |
| 7 | // edit page (hymod_bddb / boards) |
| 8 | |
| 9 | require("defs.php"); |
| 10 | |
| 11 | pg_head("$bddb_label - New Log Entry"); |
| 12 | |
| 13 | if ($serno == 0) |
| 14 | die("serial number not specified!"); |
| 15 | |
| 16 | if (isset($logno)) |
| 17 | die("log number must not be specified when adding!"); |
| 18 | ?> |
| 19 | <form action=donewlog.php method=POST> |
| 20 | <p></p> |
| 21 | <?php |
| 22 | echo "<input type=hidden name=serno value=$serno>\n"; |
| 23 | |
| 24 | begin_table(3); |
| 25 | |
| 26 | // date date |
| 27 | print_field("date", array('date' => date("Y-m-d"))); |
| 28 | |
| 29 | // details text |
| 30 | print_field_multiline("details", array(), 60, 10, 'text_filter'); |
| 31 | |
| 32 | end_table(); |
| 33 | ?> |
| 34 | <p></p> |
| 35 | <table width="100%"> |
| 36 | <tr> |
| 37 | <td align=center> |
| 38 | <input type=submit value="Add Log Entry"> |
| 39 | </td> |
| 40 | <td align=center> |
| 41 | <input type=reset value="Reset Form Contents"> |
| 42 | </td> |
| 43 | </tr> |
| 44 | </table> |
| 45 | </form> |
| 46 | <?php |
| 47 | pg_foot(); |
| 48 | ?> |