Changeset 874 for trunk/Modules/Map/Map.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 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 }
Note:
See TracChangeset
for help on using the changeset viewer.