Changeset 601 for trunk/Modules/User/Registration.php
- Timestamp:
- Nov 25, 2013, 10:19:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/Registration.php
r578 r601 74 74 function Show() 75 75 { 76 global $ User, $Config;76 global $Config; 77 77 78 78 $Output = ''; … … 105 105 { 106 106 if($Team == 0) $Team = 'NULL'; 107 $ User->Register($UserName, $Pass, $Email, $Language, $Team, $PreferredVersion);107 $this->System->User->Register($UserName, $Pass, $Email, $Language, $Team, $PreferredVersion); 108 108 $Output .= ShowMessage('Registrace proběhla úspěšně.'); 109 109 $Output .= 'Přečtěte si pozorně <a href="'.$this->System->Link('/info.php').'">pokyny pro překladání</a> a můžete pak hned začít překládat.'; 110 $ User->Login($UserName, $Pass);110 $this->System->User->Login($UserName, $Pass); 111 111 $this->System->ModuleManager->Modules['Log']->WriteLog('Uživatel se zaregistroval: '.$UserName, LOG_TYPE_USER); 112 112 $ShowForm = false;
Note:
See TracChangeset
for help on using the changeset viewer.