Changeset 841 for trunk/Modules/Dictionary
- Timestamp:
- Jan 12, 2016, 10:33:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Dictionary/Dictionary.php
r838 r841 28 28 $this->System->ModuleManager->Modules['Search']->RegisterSearch('dictionary', 29 29 T('Dictionary'), array('Text', 'Description'), 30 '(SELECT * FROM `Dictionary` WHERE `Language` = '.$this->System->Config['OriginalLanguage'].') AS `T`', $this->System->Link('/dictionary/?search=')); 30 '(SELECT * FROM `Dictionary` WHERE `Language` = '.$this->System->Config['OriginalLanguage'].') AS `T`', 31 $this->System->Link('/dictionary/?search=')); 31 32 } 32 33 } … … 291 292 if(!is_numeric($_SESSION['language'])) $Output .= '<td>'.$Line['LangName'].'</td>'; 292 293 $Output .= '<td>'.$Line['Description'].'</td>'. 293 '<td><a href="'.$this->System->Link('/user.php?user='.$Line['UserId']).'">'.$Line['UserName'].'</a></td>'; 294 '<td><a href="'.$this->System->Link('/user.php?user='.$Line['UserId']).'">'. 295 $Line['UserName'].'</a></td>'; 294 296 if($this->System->User->Licence(LICENCE_USER)) 295 297 { 296 298 if($Line['UserId'] == $this->System->User->Id) 297 $Output .= '<td><a href="?action=remove&id='.$Line['Id'].'" onclick="return confirmAction(\''.T('Do you really want to delete item?').'\');">'.T('Delete').'</a>'. 299 $Output .= '<td><a href="?action=remove&id='.$Line['Id']. 300 '" onclick="return confirmAction(\''.T('Do you really want to delete item?').'\');">'.T('Delete').'</a>'. 298 301 ' <a href="?action=modify&id='.$Line['Id'].'">'.T('Modify').'</a></td>'; 299 302 else $Output .= '<td></td>';
Note:
See TracChangeset
for help on using the changeset viewer.