Changeset 372 for trunk/Modules/User/User.php
- Timestamp:
- Jan 19, 2012, 1:58:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Modules/User/User.php ¶
r370 r372 323 323 class UserOptionsView extends View 324 324 { 325 function __construct() 326 { 325 function __construct($Database) 326 { 327 parent::__construct($Database); 327 328 $this->Name = 'UserOptions'; 328 329 $this->Title = 'Nastavení uživatele'; 329 AddItemString('Login', 'Přihlašovací jméno', ''); 330 AddItemPassword('Password', 'Heslo', ''); 331 AddItemString('Name', 'Zobrazované jméno', ''); 332 AddItemString('Email', 'E-mail', ''); 333 AddItemString('PhoneNumber', 'Telefon', ''); 334 AddItemString('ICQ', 'ICQ', ''); 330 $this->ModelName = 'User'; 331 $this->AddItemString('Login', 'Přihlašovací jméno', ''); 332 $this->AddItemPassword('Password', 'Heslo', ''); 333 $this->AddItemString('Name', 'Zobrazované jméno', ''); 334 $this->AddItemString('Email', 'E-mail', ''); 335 $this->AddItemString('PhoneNumber', 'Telefon', ''); 336 $this->AddItemString('ICQ', 'ICQ', ''); 335 337 } 336 338 } … … 338 340 class UserRegisterView extends View 339 341 { 340 function __construct() 341 { 342 function __construct($Database) 343 { 344 parent::__construct($Database); 342 345 $this->Name = 'UserRegister'; 343 346 $this->Title = 'Registrace uživatele'; 344 347 $this->SubmitText = 'Registrovat'; 345 348 $this->ModelName = 'User'; 346 AddItemString('Login', 'Přihlašovací jméno', '');347 AddItemPassword('Password', 'Heslo', '');348 AddItemPassword('Password2', 'Potvrzení hesla', '');349 AddItemString('Name', 'Zobrazované jméno', '');350 AddItemString('Email', 'E-mail', '');351 AddItemString('PhoneNumber', 'Telefon', '');352 AddItemString('ICQ', 'ICQ', '');349 $this->AddItemString('Login', 'Přihlašovací jméno', ''); 350 $this->AddItemPassword('Password', 'Heslo', ''); 351 $this->AddItemPassword('Password2', 'Potvrzení hesla', ''); 352 $this->AddItemString('Name', 'Zobrazované jméno', ''); 353 $this->AddItemString('Email', 'E-mail', ''); 354 $this->AddItemString('PhoneNumber', 'Telefon', ''); 355 $this->AddItemString('ICQ', 'ICQ', ''); 353 356 } 354 357 } … … 356 359 class PasswordRecoveryView extends View 357 360 { 358 function __construct() 359 { 361 function __construct($Database) 362 { 363 parent::__construct($Database); 360 364 $this->Name = 'PasswordRecovery'; 361 365 $this->Title = 'Obnova hesla'; 362 366 $this->SubmitText = 'Obnovit'; 363 AddItemString('Name', 'Přihlašovací jméno', '');364 AddItemString('Email', 'E-mail', '');367 $this->AddItemString('Name', 'Přihlašovací jméno', ''); 368 $this->AddItemString('Email', 'E-mail', ''); 365 369 } 366 370 } … … 368 372 class UserLoginView extends View 369 373 { 370 function __construct() 371 { 374 function __construct($Database) 375 { 376 parent::__construct($Database); 372 377 $this->Name = 'UserLogin'; 373 378 $this->Title = 'Přihlášení uživatele'; 374 379 $this->SubmitText = 'Přihlásit'; 375 AddItemString('Username', 'Přihlašovací jméno', '');376 AddItemPassword('Password', 'Heslo', '');380 $this->AddItemString('Username', 'Přihlašovací jméno', ''); 381 $this->AddItemPassword('Password', 'Heslo', ''); 377 382 } 378 383 }
Note:
See TracChangeset
for help on using the changeset viewer.