Changeset 874 for trunk/Modules/Map
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- Location:
- trunk/Modules/Map
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Map/Map.php
r873 r874 14 14 { 15 15 if (!$this->System->User->CheckPermission('Map', 'Show')) 16 return ('Nemáte oprávnění');16 return 'Nemáte oprávnění'; 17 17 18 18 if (count($this->System->PathItems) > 1) 19 19 { 20 if ($this->System->PathItems[1] == 'show-position') return ($this->ShowPosition());21 else return (PAGE_NOT_FOUND);22 } else return ($this->ShowMain());20 if ($this->System->PathItems[1] == 'show-position') return $this->ShowPosition(); 21 else return PAGE_NOT_FOUND; 22 } else return $this->ShowMain(); 23 23 } 24 24 … … 40 40 $MapApi->Markers[] = $Marker; 41 41 $Output = $MapApi->ShowPage($this); 42 return ($Output);43 } else return ('Položka nenalezena');42 return $Output; 43 } else return 'Položka nenalezena'; 44 44 } 45 45 … … 236 236 </table>'; 237 237 */ 238 return ($Output);238 return $Output; 239 239 } 240 240 } … … 249 249 'onclick="return popupwindow("'.$this->FormManager->Root.'/is/?a=mapselect&r='. 250 250 $Item['Name'].'","test");" style="cursor:hand;cursor:pointer"/>'; 251 return ($Output);251 return $Output; 252 252 } 253 253 } -
trunk/Modules/Map/MapAPI.php
r873 r874 37 37 function Show() 38 38 { 39 return ('');39 return ''; 40 40 } 41 41 } … … 102 102 </script>'; 103 103 $Output .= '<div id="map_canvas" style="width: 100%; height: 98%;"></div>'; 104 return ($Output);104 return $Output; 105 105 } 106 106 }
Note:
See TracChangeset
for help on using the changeset viewer.