/[pliva-si]/back/multi/index.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /back/multi/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Tue Jul 3 12:41:05 2001 UTC revision 1.2 by dpavlin, Mon Jul 9 08:49:46 2001 UTC
# Line 1  Line 1 
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";
# Line 31  if ($what=="edit" || $what=="new") { Line 34  if ($what=="edit" || $what=="new") {
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") {
# Line 46  if ($what=="edit" || $what=="new") { Line 46  if ($what=="edit" || $what=="new") {
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";

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26