Changeset 575 for trunk/Common/Update.php
- Timestamp:
- Oct 2, 2013, 8:26:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Update.php
r548 r575 250 250 if($Def['Type'] == 'Password') $Output .= '<input type="password" name="'.$Def['Name'].'"/>'; 251 251 if($Def['Type'] == 'Integer') $Output .= '<input type="text" name="'.$Def['Name'].'" value="'.$Value.'"/>'; 252 if($Def['Type'] == 'Float') $Output .= '<input type="text" name="'.$Def['Name'].'" value="'.$Value.'"/>'; 252 253 if($Def['Type'] == 'Boolean') $Output .= '<input type="text" name="'.$Def['Name'].'" value="'.$Value.'"/>'; 253 254 } … … 270 271 $Value = $_POST[$Def['Name']]; 271 272 if($Def['Type'] == 'Integer') if(array_key_exists($Def['Name'], $_POST)) 273 $Value = $_POST[$Def['Name']]; 274 if($Def['Type'] == 'Float') if(array_key_exists($Def['Name'], $_POST)) 272 275 $Value = $_POST[$Def['Name']]; 273 276 if($Def['Type'] == 'Boolean') if(array_key_exists($Def['Name'], $_POST))
Note:
See TracChangeset
for help on using the changeset viewer.