Changeset 826
- Timestamp:
- Apr 16, 2016, 9:58:49 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r825 r826 1 1 <?php 2 2 3 $Revision = 82 5; // Subversion revision3 $Revision = 826; // Subversion revision 4 4 $DatabaseRevision = 824; // SQL structure revision 5 5 $ReleaseTime = strtotime('2016-04-16'); -
trunk/Modules/User/UserPage.php
r825 r826 17 17 function ShowContacts() 18 18 { 19 $Query = 'SELECT `Contact`.`Value`, (SELECT `Name` FROM `ContactCategory` WHERE `ContactCategory`.`Id` = `Contact`.`Category`) AS `Category` '.19 $Query = 'SELECT `Contact`.`Value`, `Contact`.`Description`, (SELECT `Name` FROM `ContactCategory` WHERE `ContactCategory`.`Id` = `Contact`.`Category`) AS `Category` '. 20 20 'FROM `Contact` WHERE `User` = '. 21 21 $this->System->User->User['Id']; … … 31 31 array('Name' => 'Category', 'Title' => 'Skupina'), 32 32 array('Name' => 'Value', 'Title' => 'Hodnota'), 33 array('Name' => 'Description', 'Title' => 'Popis'), 33 34 ); 34 35 $Order = GetOrderTableHeader('Contacts', $TableColumns, 'Value', 0); … … 40 41 while($Contact = $DbResult->fetch_assoc()) 41 42 { 42 $Output .= '<tr><td>'.$Contact['Category'].'</td>'. 43 '<td>'.$Contact['Value'].'</td></tr>'; 43 $Output .= '<tr>'. 44 '<td>'.$Contact['Category'].'</td>'. 45 '<td>'.$Contact['Value'].'</td>'. 46 '<td>'.$Contact['Description'].'</td>'. 47 '</tr>'; 44 48 } 45 49 $Output .= '</table>';
Note:
See TracChangeset
for help on using the changeset viewer.