/[pliva-si]/back/menu/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/menu/index.php

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

revision 1.3 by dpavlin, Mon Jul 2 12:42:23 2001 UTC revision 1.4 by dpavlin, Mon Jul 2 21:03:49 2001 UTC
# Line 28  $url["home"] = "$PHP_SELF"; Line 28  $url["home"] = "$PHP_SELF";
28    
29  if ($what=="detail") {  if ($what=="detail") {
30    
31      include_once( "$phormationdir/form.php" );          include_once( "$phormationdir/form.php" );
32      include_once( "$phormationdir/file_upload.php" );          include_once( "$phormationdir/file_upload.php" );
33    
34      $opts = array();          $opts = array();
35      $url = array();          $url = array();
36    
37      form_main( "menu", "num", $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") {
40    
41      include_once( "$phormationdir/form.php" );          include_once( "$phormationdir/form.php" );
42      include_once( "$phormationdir/multiform.php" );          include_once( "$phormationdir/multiform.php" );
43      include_once( "$phormationdir/file_upload.php" );          include_once( "$phormationdir/file_upload.php" );
44    
45      if( empty( $numforms ) ) {          if( empty( $numforms ) ) {
46          $numforms = 2;                  $numforms = 2;
47      }          }
48    
49      $opts = array();          $opts = array();
50      $url = array();          $url = array();
51      $opts["maxforms"] = 10;          $opts["maxforms"] = 10;
52      $opts["numforms_prompt"] = "Select the number of records to create:";          $opts["numforms_prompt"] = "Select the number of records to create:";
53      $opts["item_heading"] = "Multiple edit";          $opts["item_heading"] = "Multiple edit";
54    
55      multiform_main( "$table", $params["key"], $fields, $names, $types, $record_id, $url, $opts, $numforms );          multiform_main( "$table", $params["key"], $fields, $names, $types, $record_id, $url, $opts, $numforms );
56    
57  } else {  } else {
58          include_once( "$phormationdir/displaytable.php" );          include_once( "$phormationdir/displaytable.php" );

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26