$geomform->geom_title->setValue($path->title);
} else {
$geomform->setAction('path');
- $clientip = trim(end(split(',', $this->getRequest()->getClientIp(true))));
- $extent = new phptojs\JsObject('gMaxExtent', $this->_helper->syjGeoip($clientip));
+ $extent = new phptojs\JsObject('gMaxExtent', $this->_helper->syjGeoip($this->getRequest()->getClientIp(true)));
$this->view->headScript()->prependScript((string) $extent);
$title = "Show your journey";
}
$this->view->translate('route by <strong>%s</strong>', (string)$path->creator->pseudo);
}
$this->view->headTitle($title);
+ $this->view->headMeta()->appendName('description', $this->view->translate('website to share routes'));
$this->view->geomform = $geomform;
$this->view->loginform = $loginform;
$this->view->userform = $userform;