button, then click on the map to add points to your route. You can zoom and move the map with the controls in the top left corner')?>
-
-translate('When you have finished a path, press "save", button.')?>
-
+errorMsg) {
+ $message .= $this->errorMsg;
+ $msgclass = "error";
+} else if (!$this->path and !$this->loggedUser) {
+ $message .= $this->translate('To create a journey, press
button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it.');
+ $message .= "
";
+ $message .= $this->translate('You can zoom and move the map with the controls in the top left corner.');
+ $message .= "
";
+ $message .= $this->translate('When you have finished a path, press "create", button.');
+ $msgclass = "info optional";
+}
+?>
+
+
path->id) . '.kml';
+ $href = $fullBaseUrl . 'geom/' . rawurlencode($this->path->displayTitle) . '.kml';
printf('
%s',
$href,
$this->translate('kml export'),
$this->translate('kml export'));
print '
';
- $href = $fullBaseUrl . 'geom/' . urlencode($this->path->id) . '.gpx';
+ $href = $fullBaseUrl . 'geom/' . rawurlencode($this->path->displayTitle) . '.gpx';
printf('
%s',
$href,
$this->translate('gpx export'),