Changeset 8 for types/Hyperlink.php
- Timestamp:
- Sep 29, 2008, 2:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/Hyperlink.php
r6 r8 1 1 <?php 2 2 3 function TypeHyperlinkViewHtml($Type, $ Parameter, $Table, $Id)3 function TypeHyperlinkViewHtml($Type, $Item) 4 4 { 5 $Output = '<a href=" %value%">%value%</a>';5 $Output = '<a href="'.$Item['Name'].'">'.$Item['Value'].'</a>'; 6 6 return($Output); 7 7 } … … 9 9 function TypeHyperlinkEditHtml($Type, $Parameter, $Table, $Id) 10 10 { 11 $Output = '<input type="text" name=" %name%" value="%value%">';11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; 12 12 return($Output); 13 13 }
Note:
See TracChangeset
for help on using the changeset viewer.