Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function googlemapjs(){
- SSViewer::set_source_file_comments(false);
- ContentNegotiator::disable();
- $this->getResponse()->addHeader('Content-Type', 'text/javascript; charset="utf-8"');
- return $this->renderWith("GoogleMapJS");
- }
- function googlemapxml(){
- SSViewer::set_source_file_comments(false);
- ContentNegotiator::disable();
- $data = self::getWoning();
- $this->customise(array(
- 'Adressen' => $data
- ));
- $this->getResponse()->addHeader('Content-Type', 'application/xml; charset="utf-8"');
- return $this->renderWith("GoogleMapXML");
- }
- <script src="$Top.URLSegment/googlemapjs/$ID" type="text/javascript"></script>
Add Comment
Please, Sign In to add comment