Changeset 47 for trunk/Base/Types
- Timestamp:
- Jul 27, 2014, 9:14:56 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 2 1 config.php 2 .project
-
- Property svn:ignore
-
trunk/Base/Types/Base.php
r42 r47 31 31 } 32 32 } 33 34 ?> -
trunk/Base/Types/Boolean.php
r42 r47 21 21 function OnLoad($Item) 22 22 { 23 if(array_key_exists($Item['Name'], $_POST)) return(1); 23 if(array_key_exists($Item['Name'], $_POST)) return(1); 24 24 else return(0); 25 25 } 26 26 } 27 28 ?> -
trunk/Base/Types/Date.php
r42 r47 60 60 } 61 61 } 62 63 ?> -
trunk/Base/Types/DateTime.php
r42 r47 10 10 { 11 11 global $MonthNames; 12 12 13 13 if($Item['Value'] != '') 14 14 { … … 92 92 } 93 93 } 94 95 ?> -
trunk/Base/Types/Enumeration.php
r42 r47 32 32 } 33 33 } 34 35 ?> -
trunk/Base/Types/File/File.php
r40 r47 43 43 } 44 44 } 45 46 ?> -
trunk/Base/Types/File/FileDownload.php
r40 r47 20 20 echo(file_get_contents($Config['UploadFileFolder'].'/'.$DbRow['Id'])); 21 21 } else echo('Soubor nenalezen!'); 22 23 ?> -
trunk/Base/Types/Float.php
r42 r47 24 24 } 25 25 } 26 27 ?> -
trunk/Base/Types/GPS.php
r42 r47 70 70 } 71 71 } 72 73 ?> -
trunk/Base/Types/Hidden.php
r42 r47 22 22 } 23 23 } 24 25 ?> -
trunk/Base/Types/Hyperlink.php
r42 r47 22 22 } 23 23 } 24 25 ?> -
trunk/Base/Types/IPv4Address.php
r42 r47 22 22 } 23 23 } 24 25 ?> -
trunk/Base/Types/Integer.php
r42 r47 24 24 } 25 25 } 26 27 ?> -
trunk/Base/Types/Password.php
r42 r47 27 27 $Result = $_POST[$Item['Name']]; 28 28 /* 29 if(!array_key_exists('SourceItemId', $Item)) $Result = sha1($_POST[$Item['Name']]); 29 if(!array_key_exists('SourceItemId', $Item)) $Result = sha1($_POST[$Item['Name']]); 30 30 else 31 31 { … … 42 42 } 43 43 } 44 45 ?> -
trunk/Base/Types/PointerOneToMany.php
r42 r47 7 7 function OnView($Item) 8 8 { 9 $Type = $this->System->Type->TypeDefinitionList[$Item['Type']]; 9 10 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 10 11 return($Output); … … 13 14 function OnEdit($Item) 14 15 { 16 $Type = $this->System->Type->TypeDefinitionList[$Item['Type']]; 15 17 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; 16 18 return($Output); … … 22 24 } 23 25 } 24 25 ?> -
trunk/Base/Types/PointerOneToOne.php
r42 r47 37 37 } 38 38 } 39 40 ?> -
trunk/Base/Types/String.php
r42 r47 29 29 } 30 30 } 31 32 ?> -
trunk/Base/Types/Text.php
r42 r47 29 29 } 30 30 } 31 32 ?> -
trunk/Base/Types/Time.php
r42 r47 56 56 } 57 57 } 58 59 ?> -
trunk/Base/Types/Type.php
r42 r47 68 68 $Type = $this->TypeDefinitionList[$ParentType]; 69 69 } else $Type = array(); 70 70 71 71 $Type['Name'] = $Name; 72 72 $Type['Parameters'] = array_merge($Type['Parameters'], $Parameters); … … 79 79 } 80 80 } 81 82 83 ?>
Note:
See TracChangeset
for help on using the changeset viewer.