Changeset 74 for trunk/www/Application/View/Page.php
- Timestamp:
- Aug 23, 2009, 9:38:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Page.php
r73 r74 35 35 ' <a href="?Module=Emulator&Action=ItemList">Verze emulátoru</a>'. 36 36 '</span><div class="MenuItem2">'; 37 if($this->System->Modules['User']->User['Id'] == $this-> System->Modules['User']->AnonymousUserId)37 if($this->System->Modules['User']->User['Id'] == $this->Config['Web']['UserAnonymousId']) 38 38 { 39 39 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Module=User&Action=Login">Přihlášení</a>'; … … 64 64 { 65 65 $Output = '<table class="BasicTable"><tr>'; 66 if($this->System->Modules['User']->User['Id'] != $this-> System->Modules['User']->AnonymousUserId)66 if($this->System->Modules['User']->User['Id'] != $this->Config['Web']['UserAnonymousId']) 67 67 $Output .= '<td class="UserMenu">'.$this->UserMenu().'</td>'; 68 68 $Output .= '<td class="Content">'.$Content.'</td>'; 69 69 if(!array_key_exists('Action', $_GET)) 70 70 { 71 $NewsView = new NewsView($this-> Database, $this->System);71 $NewsView = new NewsView($this->System); 72 72 $Output .= $NewsView->View(); 73 73 } … … 79 79 { 80 80 $Output = '<strong>Uživatelské menu</strong><br />'; 81 if($this->System->Modules['User']->User['Id'] != $this-> System->Modules['User']->AnonymousUserId)81 if($this->System->Modules['User']->User['Id'] != $this->Config['Web']['UserAnonymousId']) 82 82 { 83 $Output .= '<div><a href="?Module=Cluster&Action=ItemList">Uzly skupiny</a></div>'; 83 84 $Output .= '<div><a href="?Module=Server&Action=ItemList&Filter=User">Moje servery</a></div>'; 84 85 //$Output .= '<div><a href="?Action=RealmList&Filter=User">Moje světy</a></div>';
Note:
See TracChangeset
for help on using the changeset viewer.