1 |
<? |
<? |
2 |
|
|
3 |
|
$opts = array(); |
4 |
|
$url = array(); |
5 |
|
|
6 |
include_once( "global.inc" ); |
include_once( "global.inc" ); |
7 |
|
|
8 |
$params["editlink"] = "$PHP_SELF?what=edit"; |
$params["editlink"] = "$PHP_SELF?what=edit"; |
34 |
include_once( "$phormationdir/form.php" ); |
include_once( "$phormationdir/form.php" ); |
35 |
include_once( "$phormationdir/file_upload.php" ); |
include_once( "$phormationdir/file_upload.php" ); |
36 |
|
|
|
$opts = array(); |
|
|
$url = array(); |
|
|
|
|
37 |
form_main( "$table", $params["key"], $fields, $names, $types, $record_id, $url, $opts ); |
form_main( "$table", $params["key"], $fields, $names, $types, $record_id, $url, $opts ); |
38 |
|
|
39 |
} elseif ($what=="multi") { |
} elseif ($what=="multi") { |
46 |
$numforms = 2; |
$numforms = 2; |
47 |
} |
} |
48 |
|
|
|
$opts = array(); |
|
|
$url = array(); |
|
49 |
$opts["maxforms"] = 10; |
$opts["maxforms"] = 10; |
50 |
$opts["numforms_prompt"] = "Select the number of records to create:"; |
$opts["numforms_prompt"] = "Select the number of records to create:"; |
51 |
$opts["item_heading"] = "Multiple edit"; |
$opts["item_heading"] = "Multiple edit"; |