Changeset 44 for trunk/www/form.php


Ignore:
Timestamp:
Jun 16, 2009, 9:08:11 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Možnost upravit některé podrobné volby samotného emulátoru.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/form.php

    r29 r44  
    1313    global $FormClasses;
    1414
    15     $this->Definition = &$FormClasses[$ClassName];
    16     foreach($this->Definition['Items'] as $Index => $Item)
     15    if(array_key_exists($ClassName, $FormClasses))
    1716    {
    18       $this->Values[$Index] = '';
    19     }   
     17      $this->Definition = &$FormClasses[$ClassName];
     18      foreach($this->Definition['Items'] as $Index => $Item)
     19      {
     20        $this->Values[$Index] = '';
     21      }   
     22    } else
     23    {
     24      $this->Definition = array('Title' => 'Neznámý formulář', 'Table' => '', 'Items' => array());
     25    }
    2026  }
    2127
Note: See TracChangeset for help on using the changeset viewer.