Changeset 381 for trunk/Common/Page.php


Ignore:
Timestamp:
Jan 22, 2012, 9:17:36 PM (13 years ago)
Author:
chronos
Message:
  • Opraveno: Instalace anonymního uživatele.
  • Opraveno: Odkazy na model User.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Page.php

    r364 r381  
    158158    if($this->System->Config['Web']['UserSupport'] == 1)
    159159    {
    160       if($this->System->Models['User']->User['Id'] == $this->System->Models['User']->AnonymousUserId)
     160      if($this->System->Modules['User']->Models['User']->User['Id'] == $this->System->Modules['User']->Models['User']->AnonymousUserId)
    161161        $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=LoginForm">Přihlášení</a> <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserRegister">Registrace</a>';
    162         else $Output .= $this->System->Models['User']->User['Name'].' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=Logout">Odhlásit</a>';
     162        else $Output .= $this->System->Modules['User']->Models['User']->User['Name'].' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=Logout">Odhlásit</a>';
    163163   } else $Output .= '&nbsp;';
    164164// <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>';
Note: See TracChangeset for help on using the changeset viewer.