Changeset 729 for trunk/Modules/User
- Timestamp:
- Jan 12, 2015, 12:20:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r711 r729 66 66 $this->OnlineStateTimeout = 600; // in seconds 67 67 $this->PasswordHash = new PasswordHash(); 68 $this->User = array('Id' => null, 'Member' => null); 68 69 } 69 70 … … 694 695 function TopBarCallback() 695 696 { 696 if($this->System->User->User['Id'] == null) 697 if($this->System->User->User['Id'] == null) 698 { 697 699 $Output = '<a href="'.$this->System->Link('/user/?Action=LoginForm').'">Přihlášení</a> '. 698 700 '<a href="'.$this->System->Link('/user/?Action=UserRegister').'">Registrace</a>'; 699 else $Output = $this->System->User->User['Name']. 701 } else 702 { 703 $Output = $this->System->User->User['Name']. 700 704 ' <a href="'.$this->System->Link('/user/?Action=UserMenu').'">Nabídka</a>'. 701 705 ' <a href="'.$this->System->Link('/user/?Action=Logout').'">Odhlásit</a>'; 702 // <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>'; 706 // <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>'; 707 } 703 708 return($Output); 704 709 }
Note:
See TracChangeset
for help on using the changeset viewer.