Ignore:
Timestamp:
Apr 6, 2020, 11:17:40 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code format.
File:
1 edited

Legend:

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

    r858 r873  
    122122    /*
    123123
    124      if($this->InstalledVersion == '1.0') {
     124     if ($this->InstalledVersion == '1.0') {
    125125      $this->System->Database->Query('SELECT * FROM User WHERE Id=1');
    126126      $this->InstalledVersion = '1.1';
     
    132132  {
    133133    $this->System->User = new User($this->System);
    134     if(isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();
     134    if (isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();
    135135    $this->System->RegisterPage('userlist', 'PageUserList');
    136136    $this->System->RegisterPage('user', 'PageUser');
     
    290290  function TopBarCallback()
    291291  {
    292     if($this->System->User->User['Id'] == null)
     292    if ($this->System->User->User['Id'] == null)
    293293    {
    294294      $Output = '<a href="'.$this->System->Link('/user/?Action=LoginForm').'">Přihlášení</a> '.
     
    301301      //   <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>';
    302302    }
    303     return($Output);
     303    return ($Output);
    304304  }
    305305}
Note: See TracChangeset for help on using the changeset viewer.