Changeset 12 for trunk/www/page.php
- Timestamp:
- Jun 11, 2009, 9:37:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/page.php
r8 r12 25 25 '<title>'.$this->System->Config['Web']['Title'].' - '.$Path.'</title> 26 26 </head><body'.$BodyParam.'>'. 27 '<div class="Navigation"><span class="MenuItem"><a href="?">Se znam serverů</a>';27 '<div class="Navigation"><span class="MenuItem"><a href="?">Servery</a>'; 28 28 if($this->System->Modules['User']->User['Id'] != $this->System->Modules['User']->AnonymousUserId) 29 29 { … … 32 32 if($DbRow[0] > 0) $Output .= ' <a href="?Action=ServerShow">Vlastní server</a>'; 33 33 else $Output .= ' <a href="?Action=ServerAdd">Vytvořit vlastní server</a>'; 34 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>'; 35 if($this->System->Modules['User']->User['Role'] == USER_ROLE_ADMINISTRATOR) 36 { 37 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=EmulatorList">Emulátory</a>'; 38 } 34 39 } 35 40 $Output .= '</span><div class="MenuItem2">'; … … 37 42 $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>'; 38 43 else $Output .= $this->System->Modules['User']->User['Name'].' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=Logout">Odhlásit</a>'; 39 // <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>';40 44 $Output .= '</div></div>'; 41 45 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.