Ignore:
Timestamp:
Sep 8, 2013, 2:01:59 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Zobrazení mapy.
File:
1 edited

Legend:

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

    r561 r566  
    1313  function Show()
    1414  {
    15     global $Config;
    16    
    1715    if(count($this->System->PathItems) > 1)
    1816    {
     
    3230      else return(PAGE_NOT_FOUND);
    3331    } else return($this->ShowMain());
    34        
    35     $Output = '<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key='.$Config['Web']['GoogleMapsApiKey'].'"
     32  }
     33 
     34  function ShowMain()
     35  {
     36    $Output = '<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key='.$this->System->Config['Web']['GoogleMapsApiKey'].'"
    3637    type="text/javascript">
    3738  </script>';
Note: See TracChangeset for help on using the changeset viewer.