Changeset 13 for global.php
- Timestamp:
- Oct 17, 2007, 7:06:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.php
r6 r13 63 63 foreach($Class as $Index => $Item) 64 64 { 65 if(!array_key_exists($Index, $Values)) $Values[$Index] = $Item['Default']; 65 66 switch($Item['Type']) 66 67 { 67 case 'Boolean': 68 case 'Boolean': 68 69 if($Values[$Index] == 0) $Checked = ''; else $Checked = ' checked="yes"'; 69 70 $Edit = '<input type="checkbox" name="'.$Index.'"'.$Checked.'>'; … … 80 81 array_push($Table['Rows'], array($Item['Caption'], $Edit)); 81 82 } 82 $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).Link('?Operation=Add', 'Pøidat'); 83 return($Output); } 83 $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).MakeLink('?Operation=Add2', 'Pøidat'); 84 return($Output); 85 } 84 86 85 87 ?>
Note:
See TracChangeset
for help on using the changeset viewer.