Changeset 52 for branches/old/global.php
- Timestamp:
- Feb 20, 2015, 9:31:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/old/global.php
r50 r52 12 12 include_once('types.php'); 13 13 include_once('classes.php'); 14 include_once('Common/PrefixMultiplier.php'); 15 $PrefixMultiplier = new PrefixMultiplier(); 14 16 include_once('stat_functions.php'); 15 17 $Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']); … … 79 81 switch($Item['Type']) 80 82 { 81 case 'Boolean': 83 case 'Boolean': 82 84 if($Values[$Index] == 0) $Checked = ''; else $Checked = ' checked="yes"'; 83 85 $Edit = '<input type="checkbox" name="'.$Index.'"'.$Checked.'>'; 84 86 break; 85 case 'String': 87 case 'String': 86 88 $Edit = '<input type="text" name="'.$Index.'" value="'.$Values[$Index].'">'; 87 89 break; 88 case 'Integer': 90 case 'Integer': 89 91 $Edit = '<input type="text" name="'.$Index.'" value="'.$Values[$Index].'">'; 90 92 break; … … 95 97 } 96 98 $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).MakeLink('?Operation=Add2', 'Přidat'); 97 return($Output); 99 return($Output); 98 100 }
Note:
See TracChangeset
for help on using the changeset viewer.