Changeset 849 for trunk/Modules


Ignore:
Timestamp:
Jan 17, 2016, 6:19:06 PM (9 years ago)
Author:
chronos
Message:
  • Added: Prepared database tables for import module. Every executed import should be recorded and should be allowed to remove it.
  • Modified: More translatable strings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Team/Team.php

    r846 r849  
    8282      if($this->System->User->Licence(LICENCE_USER))
    8383      {
    84         if($Team['Leader'] == $this->System->User->Id) $Action = ' <a href="?action=modify&amp;id='.$Team['Id'].'">Upravit</a>';
     84        if($Team['Leader'] == $this->System->User->Id) $Action = ' <a href="?action=modify&amp;id='.$Team['Id'].'">'.T('Edit').'</a>';
    8585        else $Action = '';
    86         if($Team['Id'] == $this->System->User->Team) $Action = ' <a href="?action=leave">Opustit</a>';
    87         $Output .= '<td><a href="?action=gointeam&amp;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&amp;id='.$Team['Id'].'">'.T('Enter').'</a>'.$Action.'</td>';
    8888      }
    8989      $Output .= '</tr>';
     
    102102      {
    103103        $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'));
    105105        $this->System->ModuleManager->Modules['Log']->WriteLog('Uživatel vstoupil do týmu '.$_GET['id'], LOG_TYPE_USER);
    106106
     
    314314    {
    315315      $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'));
    317317      $this->System->ModuleManager->Modules['Log']->WriteLog('Uživatel vystoupil z týmu', LOG_TYPE_USER);
    318318
Note: See TracChangeset for help on using the changeset viewer.