Changeset 386 for trunk/Modules/Network/Restart.php
- Timestamp:
- Jan 24, 2012, 3:17:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Restart.php
r371 r386 3 3 class ServiceRestartPage extends Page 4 4 { 5 var $FullTitle = 'Restart služeb';6 var $ShortTitle = 'Restart služeb';7 5 var $State = array('Neplánováno', 'V plánu', 'Provádí se'); 8 6 7 function __construct() 8 { 9 parent::__construct(); 10 $this->FullTitle = 'Restart služeb'; 11 $this->ShortTitle = 'Restart služeb'; 12 $this->NavigationPath[] = array('Name' => $this->ShortTitle, 'URL' => 'restart-sluzeb'); 13 } 14 9 15 function ShowLog($Id) 10 16 { … … 49 55 function Show() 50 56 { 51 if(!$this->System->Mod els['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění');57 if(!$this->System->Modules['User']->Models['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění'); 52 58 53 59 if(array_key_exists('Action', $_GET))
Note:
See TracChangeset
for help on using the changeset viewer.