blob: 3f516391b6108e34a0dafd4fd99f6561291a99ae [file] [log] [blame]
wdenkfe8c2802002-11-03 00:38:21 +00001<?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
wdenk6dd652f2003-06-19 23:40:20 +000029 // who char(20)
30 print_field("who", "");
31
wdenkfe8c2802002-11-03 00:38:21 +000032 // details text
33 print_field_multiline("details", array(), 60, 10, 'text_filter');
34
35 end_table();
36?>
37<p></p>
38<table width="100%">
39<tr>
40 <td align=center>
41 <input type=submit value="Add Log Entry">
42 </td>
43 <td align=center>
44 <input type=reset value="Reset Form Contents">
45 </td>
46</tr>
47</table>
48</form>
49<?php
50 pg_foot();
51?>