Ignore:
Timestamp:
Apr 14, 2020, 11:13:32 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/User.php

    r5 r7  
    121121    /*
    122122
    123      if($this->InstalledVersion == '1.0') {
     123     if ($this->InstalledVersion == '1.0') {
    124124      $this->System->Database->Query('SELECT * FROM User WHERE Id=1');
    125125      $this->InstalledVersion = '1.1';
     
    131131  {
    132132    $this->System->User = new User($this->System);
    133     if(isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();
     133    if (isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();
    134134    $this->System->RegisterPage('userlist', 'PageUserList');
    135135    $this->System->RegisterPage('user', 'PageUser');
     
    287287  function TopBarCallback()
    288288  {
    289     if($this->System->User->User['Id'] == null)
     289    if ($this->System->User->User['Id'] == null)
    290290    {
    291291      $Output = '<a href="'.$this->System->Link('/user/?Action=LoginForm').'">Přihlášení</a> '.
     
    298298      //   <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>';
    299299    }
    300     return($Output);
     300    return $Output;
    301301  }
    302302}
Note: See TracChangeset for help on using the changeset viewer.