Changeset 538 for trunk/Modules/Portal/Portal.php
- Timestamp:
- May 18, 2013, 8:21:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/Portal.php
r534 r538 362 362 parent::Start(); 363 363 $this->System->RegisterPage('', 'PagePortal'); 364 $this->System->FormManager->RegisterClass('MemberOptions', array( 365 'Title' => 'Nastavení domácnosti', 366 'Table' => '(SELECT Member.Id, Member.FamilyMemberCount, Subject.Name, Subject.AddressStreet, Subject.AddressTown, Subject.AddressPSC, Subject.IC, Subject.DIC FROM Member JOIN Subject ON Subject.Id = Member.Subject)', 367 'Items' => array( 368 'Name' => array('Type' => 'String', 'Caption' => 'Fakturační jméno', 'Default' => ''), 369 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => 'Zděchov'), 370 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => 'Zděchov'), 371 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => '75607'), 372 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => '1'), 373 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''), 374 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''), 375 'FamilyMemberCount' => array('Type' => 'Integer', 'Caption' => 'Počet osob v domácnosti', 'Default' => '', 'Suffix' => 'osob'), 376 'BillingPeriodNext' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Požadované fakturované období', 'Default' => ''), 377 ), 378 )); 379 $this->System->FormManager->RegisterClass('UserOptions', array( 380 'Title' => 'Základní nastavení', 381 'Table' => 'User', 382 'SubmitText' => 'Uložit', 383 'Items' => array( 384 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''), 385 'Salt' => array('Type' => 'RandomHash', 'Caption' => 'Sůl', 'Default' => ''), 386 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''), 387 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''), 388 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''), 389 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''), 390 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''), 391 ), 392 )); 393 $this->System->FormManager->RegisterClass('UserRegister', array( 394 'Title' => 'Registrace uživatele', 395 'SubmitText' => 'Registrovat', 396 'Table' => 'User', 397 'Items' => array( 398 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''), 399 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''), 400 'Password2' => array('Type' => 'Password', 'Caption' => 'Potvrzení hesla', 'Default' => ''), 401 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''), 402 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''), 403 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''), 404 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''), 405 ), 406 )); 407 $this->System->FormManager->RegisterClass('PasswordRecovery', array( 408 'Title' => 'Obnova hesla', 409 'SubmitText' => 'Obnovit', 410 'Table' => '', 411 'Items' => array( 412 'Name' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''), 413 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''), 414 ), 415 )); 416 $this->System->FormManager->RegisterClass('UserLogin', array( 417 'Title' => 'Přihlášení uživatele', 418 'SubmitText' => 'Přihlásit', 419 'Table' => '', 420 'Items' => array( 421 'Username' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''), 422 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''), 423 ), 424 )); 425 364 426 } 365 427
Note:
See TracChangeset
for help on using the changeset viewer.