Changeset 76 for trunk/www/Application/View/User.php
- Timestamp:
- Aug 24, 2009, 8:53:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/User.php
r71 r76 70 70 $Result = $this->System->Modules['User']->Login($Form->Values['Username'], $Form->Values['Password']); 71 71 $Output = $this->System->SystemMessage('Přihlášení', $Result); 72 if($Result <> USER_LOGGED_IN)72 if($Result <> $this->System->Translate('UserLoggedIn')) 73 73 { 74 74 $Form->Values['Password'] = ''; … … 90 90 $Result = $this->System->Modules['User']->Register($Form->Values['Login'], $Form->Values['Password'], $Form->Values['Password2'], $Form->Values['Email'], $Form->Values['Name']); 91 91 $Output = $this->System->SystemMessage('Registrace nového účtu', $Result); 92 if($Result <> USER_REGISTRATED)92 if($Result <> $this->System->Translate('UserRegistrated')) 93 93 { 94 94 $Form->OnSubmit = '?Module=User&Action=UserRegisterSave'; … … 112 112 $Result = $this->System->Modules['User']->PasswordRecoveryRequest($Form->Values['Name'], $Form->Values['Email']); 113 113 $Output = $this->System->SystemMessage('Obnova hesla', $Result); 114 if($Result <> USER_PASSWORD_RECOVERY_SUCCESS)114 if($Result <> $this->System->Translate('UserPasswordRecoverySuccess')) 115 115 { 116 116 $Output .= $Form->ShowEditForm();
Note:
See TracChangeset
for help on using the changeset viewer.