Changeset 634 for trunk/Common/Page.php


Ignore:
Timestamp:
Jan 19, 2014, 2:28:30 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Uživatelské akce přesunuty z modulu Portal do modulu User.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Page.php

    r627 r634  
    8787      $Output .= '<div class="MainTitle">'.$Title.'</div>
    8888      <div class="Navigation"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">';
    89       if(isset($this->System->User) and ($this->System->Config['Web']['UserSupport'] == 1))
    90       {
    91         if($this->System->User->User['Id'] == null)
    92           $Output .= '<a href="'.$this->System->Link('/?Action=LoginForm').'">Přihlášení</a> '.
    93             '<a href="'.$this->System->Link('/?Action=UserRegister').'">Registrace</a>';
    94           else $Output .= $this->System->User->User['Name'].
    95             ' <a href="'.$this->System->Link('/?Action=UserMenu').'">Nabídka</a>'.
    96             ' <a href="'.$this->System->Link('/?Action=Logout').'">Odhlásit</a>';
    97      } else $Output .= '&nbsp;';
    98 //   <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>';
     89        foreach($this->System->Bars['Top'] as $BarItem)
     90        $Output .= call_user_func($BarItem);
    9991      $Output .= '</div></div>';
    10092    }
Note: See TracChangeset for help on using the changeset viewer.