Ignore:
Timestamp:
Jan 12, 2015, 12:20:30 AM (10 years ago)
Author:
chronos
Message:
  • Added: Generic Scheduler module for running tasks on specified time and with specified period.
  • Added: System execution from command line using cmd.php entry point.
File:
1 edited

Legend:

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

    r711 r729  
    6666    $this->OnlineStateTimeout = 600; // in seconds
    6767    $this->PasswordHash = new PasswordHash();
     68    $this->User = array('Id' => null, 'Member' => null);
    6869  }
    6970
     
    694695  function TopBarCallback()
    695696  {
    696     if($this->System->User->User['Id'] == null)
     697    if($this->System->User->User['Id'] == null)
     698    {
    697699      $Output = '<a href="'.$this->System->Link('/user/?Action=LoginForm').'">Přihlášení</a> '.
    698700        '<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'].
    700704        ' <a href="'.$this->System->Link('/user/?Action=UserMenu').'">Nabídka</a>'.
    701705        ' <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    }
    703708    return($Output);
    704709  }
Note: See TracChangeset for help on using the changeset viewer.