Ignore:
Timestamp:
Apr 14, 2013, 5:15:25 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Síťové informace přetvořeny na aplikační modul.
File:
1 edited

Legend:

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

    r515 r518  
    7171  function UserPanel()
    7272  {
    73     $Output = '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Profil</a><br />';
     73    $Output = '<a href="'.$this->System->Link('/?Action=UserOptions').'">Profil</a><br />';
    7474    if($this->System->Modules['User']->CheckPermission('Finance', 'MemberOptions'))
    75       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'?Action=MemberOptions">Domácnost</a><br />';
     75      $Output .= '<a href="'.$this->System->Link('/?Action=MemberOptions').'">Domácnost</a><br />';
    7676    if($this->System->Modules['User']->CheckPermission('Finance', 'DisplaySubjectState'))
    77       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/finance/user_state.php">Finance</a><br />';
     77      $Output .= '<a href="'.$this->System->Link('/finance/user_state.php').'">Finance</a><br />';
    7878    if($this->System->Modules['User']->CheckPermission('Network', 'RegistredHostList'))
    79       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/network/user_hosts.php">Počítače</a><br />';
     79      $Output .= '<a href="'.$this->System->Link('/network/user_hosts/').'">Počítače</a><br />';
    8080    if($this->System->Modules['User']->CheckPermission('News', 'Insert'))
    81       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/aktuality/?action=add">Vložení aktuality</a><br />';
     81      $Output .= '<a href="'.$this->System->Link('/aktuality/?action=add').'">Vložení aktuality</a><br />';
    8282    if($this->System->Modules['User']->CheckPermission('EatingPlace', 'Edit'))
    83       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/jidelna/menuedit.php">Editace jídelníčků</a><br />';
     83      $Output .= '<a href="'.$this->System->Link('/jidelna/menuedit.php').'">Úprava jídelníčků</a><br />';
    8484    if($this->System->Modules['User']->CheckPermission('Finance', 'Manage'))
    85       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/finance/manage.php">Správa financí</a><br />';
     85      $Output .= '<a href="'.$this->System->Link('/finance/manage.php').'">Správa financí</a><br />';
    8686    if($this->System->Modules['User']->CheckPermission('Network', 'Administration'))
    87       $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/network/administration.php">Správa sítě</a><br />';
     87      $Output .= '<a href="'.$this->System->Link('/network/administration/').'">Správa sítě</a><br />';
    8888    if($this->System->Modules['User']->CheckPermission('IS', 'Manage'))
    8989      $Output .= '<a href="'.$this->System->Link('/is/').'">Správa dat</a><br />';
Note: See TracChangeset for help on using the changeset viewer.