Changeset 36 for trunk/types
- Timestamp:
- May 6, 2009, 6:59:26 AM (16 years ago)
- Location:
- trunk/types
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/types/PointerOneToOne.php
r31 r36 72 72 $TargetTable = $Type['Parameters'][0]; 73 73 $TargetName = $this->GetTablePointerName($Type, $Item); 74 $Output = '<a href="?Action=ViewItem&Table='.$TargetTable.'&Item='.$TargetName[$List['IdName']].'">'.$TargetName['Name'].'</a>'; 74 if($TargetName != '') $Output = '<a href="?Action=ViewItem&Table='.$TargetTable.'&Item='.$TargetName[$List['IdName']].'">'.$TargetName['Name'].'</a>'; 75 else $Output = ''; 75 76 return($Output); 76 77 } -
trunk/types/include.php
r29 r36 19 19 include('types/IPv4Address.php'); 20 20 21 define( "TypeIntegerId", 1);21 define('TypeIntegerId', 1); 22 22 define('TypeBooleanId', 4); 23 23 define('TypeStringId', 3);
Note:
See TracChangeset
for help on using the changeset viewer.