Changeset 343 for trunk/network
- Timestamp:
- Jan 17, 2012, 1:00:26 PM (13 years ago)
- Location:
- trunk/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/network/administration.php
r226 r343 9 9 function Show() 10 10 { 11 if(!$this->System->Mod ules['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění');11 if(!$this->System->Models['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění'); 12 12 $Output = ''; 13 13 if(array_key_exists('Action', $_GET)) -
trunk/network/restart.php
r197 r343 50 50 function Show() 51 51 { 52 if(!$this->System->Mod ules['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění');52 if(!$this->System->Models['User']->CheckPermission('Network', 'Administration')) return('Nemáte oprávnění'); 53 53 54 54 if(array_key_exists('Action', $_GET)) -
trunk/network/user_hosts.php
r245 r343 14 14 $Output = '<div align="center" style="font-size: small;"><table class="WideTable">'; 15 15 $Output .= '<tr><th>Jméno počítače</th><th>Místní adresa</th><th>Veřejná adresa</th><th>CZFree adresa</th><th>Fyzická adresa</th><th>Typ</th><th>Naposledy online</th></tr>'; 16 $DbResult = $this->Database->query('SELECT NetworkDevice.*, NetworkDeviceType.Name AS HostType FROM NetworkDevice LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 AND NetworkDevice.Member = '.$this->System->Mod ules['User']->User['Member'].' ORDER BY NetworkDevice.Name');16 $DbResult = $this->Database->query('SELECT NetworkDevice.*, NetworkDeviceType.Name AS HostType FROM NetworkDevice LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 AND NetworkDevice.Member = '.$this->System->Models['User']->User['Member'].' ORDER BY NetworkDevice.Name'); 17 17 while($Device = $DbResult->fetch_assoc()) 18 18 {
Note:
See TracChangeset
for help on using the changeset viewer.