Changeset 864 for trunk/Modules/IS/IS.php
- Timestamp:
- Nov 10, 2019, 11:32:13 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r849 r864 456 456 } else $TabContent .= $this->ShowList($TypeItem['Table'], '`'. 457 457 $TypeItem['Ref'].'`='.$Id, $Item['Caption'], 458 $TypeItem['Ref'], $Id).'<br/>'; 458 $TypeItem['Ref'], $Id).'<br/>'; 459 459 } 460 460 $I++; … … 682 682 if(defined('NEW_PERMISSION') and !$this->System->User->CheckPermission($this->TableToModule($Table), 'Write')) 683 683 return('Nemáte oprávnění'); 684 $Map Api = new MapApiGoogle($this->System);685 $Map Api->Position = array('Lat' => $this->System->Config['Map']['DefaultLatitude'],684 $Map = new MapOpenStreetMaps($this->System); 685 $Map->Position = array('Lat' => $this->System->Config['Map']['DefaultLatitude'], 686 686 'Lng' => $this->System->Config['Map']['DefaultLongitude']); 687 $Map Api->Zoom = $this->System->Config['Map']['DefaultZoom'];688 $Map Api->Key = $this->System->Config['Map']['GoogleMapsApiKey'];689 $Map Api->OnClickObject = $_GET['r'];687 $Map->Zoom = $this->System->Config['Map']['DefaultZoom']; 688 $Map->Key = $this->System->Config['Map']['GoogleMapsApiKey']; 689 $Map->OnClickObject = $_GET['r']; 690 690 //$MapApi->ShowMarker = true; 691 $Output = $Map Api->ShowPage($this);691 $Output = $Map->ShowPage($this); 692 692 return($Output); 693 693 }
Note:
See TracChangeset
for help on using the changeset viewer.