Changeset 74 for trunk/www/Application/View
- Timestamp:
- Aug 23, 2009, 9:38:51 PM (15 years ago)
- Location:
- trunk/www/Application/View
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Emulator.php
r72 r74 104 104 $Emulator->Download(); 105 105 $Output = $this->System->SystemMessage('Stažení emulátoru', 'Úloha zařazena do fronty'); 106 $TaskView = new TaskView($this-> Database, $this->System);106 $TaskView = new TaskView($this->System); 107 107 $Output .= $TaskView->ItemList(); 108 108 } else $Output = $this->System->SystemMessage('Stažení emulátoru', 'Nebylo zadáno Id'); … … 117 117 $Emulator->Compile(); 118 118 $Output = $this->System->SystemMessage('Překlad emulátoru', 'Úloha zařazena do fronty'); 119 $TaskView = new TaskView($this-> Database, $this->System);119 $TaskView = new TaskView($this->System); 120 120 $Output .= $TaskView->ItemList(); 121 121 } else $Output = $this->System->SystemMessage('Překlad emulátoru', 'Nebylo zadáno Id'); -
trunk/www/Application/View/Include.php
r69 r74 14 14 include('Application/View/Client.php'); 15 15 include('Application/View/Debug.php'); 16 include('Application/View/Cluster.php'); 17 16 18 ?> -
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>'; -
trunk/www/Application/View/Realm.php
r72 r74 230 230 $Realm->CreateDatabase(); 231 231 $Output = $this->System->SystemMessage('Vytvoření světu', $Realm->ImportDatabase(true)); 232 $TaskView = new TaskView($this-> Database, $this->System);232 $TaskView = new TaskView($this->System); 233 233 $Output .= $TaskView->ItemList(); 234 234 //$UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->User['Id']); … … 337 337 { 338 338 $Output .= $this->System->SystemMessage('Spuštění serveru', $Realm->Start()); 339 $TaskView = new TaskView($this-> Database, $this->System);339 $TaskView = new TaskView($this->System); 340 340 $Output .= $TaskView->ItemList();; 341 341 } else $this->System->SystemMessage('Spuštění serveru', 'Nemáte oprávnění'); … … 353 353 { 354 354 $Output .= $this->System->SystemMessage('Zastavení serveru', $Realm->Stop()); 355 $TaskView = new TaskView($this-> Database, $this->System);355 $TaskView = new TaskView($this->System); 356 356 $Output .= $TaskView->ItemList();; 357 357 } else $this->System->SystemMessage('Zastavení serveru', 'Nemáte oprávnění'); … … 373 373 { 374 374 $Output = $this->System->SystemMessage('Vynulování databáze', $Realm->ImportDatabase(true)); 375 $TaskView = new TaskView($this-> Database, $this->System);375 $TaskView = new TaskView($this->System); 376 376 $Output .= $TaskView->ItemList(); 377 377 //$UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->User['Id']);
Note:
See TracChangeset
for help on using the changeset viewer.