Changeset 93 for trunk/www/Application/View/Update.php
- Timestamp:
- Aug 15, 2013, 11:17:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Update.php
r92 r93 7 7 function ItemList() 8 8 { 9 global $Config;10 11 9 $ServerId = $_GET['Id']; 12 10 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) 13 11 { 14 $Server = new Server($this-> Database, $_GET['Id']);12 $Server = new Server($this->System, $_GET['Id']); 15 13 if(($this->System->Modules['User']->User['Id'] == $Server->Server['User']) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)) 16 14 { 17 $Server = new Server($this-> Database, $ServerId);15 $Server = new Server($this->System, $ServerId); 18 16 $Output = '<h4>Seznam dostupných aktulizací</h4>'; 19 17 $Output .= 'Před provedením aktualizace bude server zastaven a provedena záloha databáze.'; … … 41 39 else if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) 42 40 { 43 $Server = new Server($this-> Database, $_GET['Server']);41 $Server = new Server($this->System, $_GET['Server']); 44 42 if(($this->System->Modules['User']->User['Id'] == $Server->Server['User']) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)) 45 43 { … … 51 49 } 52 50 } 53 54 ?>
Note:
See TracChangeset
for help on using the changeset viewer.