Changeset 574 for trunk/Modules/IS/IS.php
- Timestamp:
- Sep 29, 2013, 2:38:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r561 r574 27 27 if($Action == 'list') $Content = $this->ShowList($Table); 28 28 else if($Action == 'select') $Content = $this->ShowSelect($Table); 29 else if($Action == 'mapselect') $Content = $this->ShowMapSelect($Table); 29 30 else if($Action == 'edit') $Content = $this->ShowEdit($Table, $ItemId); 30 31 else if($Action == 'add') $Content = $this->ShowAdd($Table); … … 380 381 $this->BasicHTML = true; 381 382 $this->HideMenu = true; 382 $RowActions = '<a href="javascript:window.close();" onclick="set_return(#RowId,"'.$_GET['r'].'");"><img alt="Vybrat" title="Vybrat" src="'. 383 $RowActions = '<a href="javascript:window.close();" onclick="set_return(#RowId,"'. 384 $_GET['r'].'");"><img alt="Vybrat" title="Vybrat" src="'. 383 385 $this->System->Link('/images/select.png').'"/></a>'; 384 386 $Output = $this->ShowTable($Table, $Filter, $Title, $RowActions); 387 return($Output); 388 } 389 390 function ShowMapSelect($Table, $Filter = '', $Title = '') 391 { 392 $MapApi = new MapApiGoogle($this->System); 393 $MapApi->Position = array('Lat' => $this->System->Config['Map']['DefaultLatitude'], 394 'Lng' => $this->System->Config['Map']['DefaultLongitude']); 395 $MapApi->Zoom = $this->System->Config['Map']['DefaultZoom']; 396 $MapApi->Key = $this->System->Config['Map']['GoogleMapsApiKey']; 397 $MapApi->OnClickObject = $_GET['r']; 398 //$MapApi->ShowMarker = true; 399 $Output = $MapApi->ShowPage($this); 385 400 return($Output); 386 401 }
Note:
See TracChangeset
for help on using the changeset viewer.