Ignore:
Timestamp:
Jul 3, 2016, 1:41:25 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Show users list, device list and map only for network managers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Map/Map.php

    r796 r833  
    1313  function Show()
    1414  {
     15    if(!$this->System->User->CheckPermission('Map', 'Show'))
     16      return('Nemáte oprávnění');
     17
    1518    if(count($this->System->PathItems) > 1)
    1619    {
     
    224227        array('Caption' => 'Ukázat na mapě', 'URL' => '/map/show-position?i=#RowId'),
    225228      ),
     229      'Actions' => array(
     230        array('Caption' => 'Ukázat mapu', 'URL' => '/map/'),
     231      ),
    226232    ));
    227233    $this->System->FormManager->RegisterFormType('TMapPosition', array(
Note: See TracChangeset for help on using the changeset viewer.