Changeset 849 for trunk/Modules/Team/Team.php
- Timestamp:
- Jan 17, 2016, 6:19:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Team/Team.php
r846 r849 82 82 if($this->System->User->Licence(LICENCE_USER)) 83 83 { 84 if($Team['Leader'] == $this->System->User->Id) $Action = ' <a href="?action=modify&id='.$Team['Id'].'"> Upravit</a>';84 if($Team['Leader'] == $this->System->User->Id) $Action = ' <a href="?action=modify&id='.$Team['Id'].'">'.T('Edit').'</a>'; 85 85 else $Action = ''; 86 if($Team['Id'] == $this->System->User->Team) $Action = ' <a href="?action=leave"> Opustit</a>';87 $Output .= '<td><a href="?action=gointeam&id='.$Team['Id'].'"> Vstoupit</a>'.$Action.'</td>';86 if($Team['Id'] == $this->System->User->Team) $Action = ' <a href="?action=leave">'.T('Leave').'</a>'; 87 $Output .= '<td><a href="?action=gointeam&id='.$Team['Id'].'">'.T('Enter').'</a>'.$Action.'</td>'; 88 88 } 89 89 $Output .= '</tr>'; … … 102 102 { 103 103 $this->Database->query('UPDATE `User` SET `Team` = '.$_GET['id'].' WHERE `ID` = '.$this->System->User->Id); 104 $Output = ShowMessage( 'Vstoupil jsi do týmu.');104 $Output = ShowMessage(T('You joined new team')); 105 105 $this->System->ModuleManager->Modules['Log']->WriteLog('Uživatel vstoupil do týmu '.$_GET['id'], LOG_TYPE_USER); 106 106 … … 314 314 { 315 315 $this->Database->query('UPDATE `User` SET `Team` = NULL WHERE `ID` = '.$this->System->User->Id); 316 $Output = ShowMessage( 'Nyní nejste členem žádného týmu.');316 $Output = ShowMessage(T('You are now not member of any team')); 317 317 $this->System->ModuleManager->Modules['Log']->WriteLog('Uživatel vystoupil z týmu', LOG_TYPE_USER); 318 318
Note:
See TracChangeset
for help on using the changeset viewer.