Changeset 594 for trunk/Common/Page.php


Ignore:
Timestamp:
Nov 2, 2013, 11:23:19 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Vylepšena instalace modulu User.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Page.php

    r590 r594  
    8787      $Output .= '<div id="Title">'.$Title.'</div>
    8888      <div class="Navigation"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">';
    89       if($this->System->Config['Web']['UserSupport'] == 1)
     89      if(isset($this->System->User) and ($this->System->Config['Web']['UserSupport'] == 1))
    9090      {
    91         if(isset($this->System->User) and ($this->System->User->User['Id'] == null))
     91        if($this->System->User->User['Id'] == null)
    9292          $Output .= '<a href="'.$this->System->Link('/?Action=LoginForm').'">Přihlášení</a> '.
    9393            '<a href="'.$this->System->Link('/?Action=UserRegister').'">Registrace</a>';
Note: See TracChangeset for help on using the changeset viewer.