Changeset 518 for trunk/Modules/Portal/Portal.php
- Timestamp:
- Apr 14, 2013, 5:15:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/Portal.php
r515 r518 71 71 function UserPanel() 72 72 { 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 />'; 74 74 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 />'; 76 76 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 />'; 78 78 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 />'; 80 80 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 />'; 82 82 if($this->System->Modules['User']->CheckPermission('EatingPlace', 'Edit')) 83 $Output .= '<a href="'.$this->System-> Config['Web']['RootFolder'].'/jidelna/menuedit.php">Editacejídelníčků</a><br />';83 $Output .= '<a href="'.$this->System->Link('/jidelna/menuedit.php').'">Úprava jídelníčků</a><br />'; 84 84 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 />'; 86 86 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 />'; 88 88 if($this->System->Modules['User']->CheckPermission('IS', 'Manage')) 89 89 $Output .= '<a href="'.$this->System->Link('/is/').'">Správa dat</a><br />';
Note:
See TracChangeset
for help on using the changeset viewer.