X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=03355a2a817799b132cbbcc502db1286ff3e7cbb;hb=9f80d909c85ea324ed3337348b6e83ec39b70a78;hp=455f90b6f1f3010b2bfd056317a3c7edbeaff97e;hpb=6633e95b89c1d1eba9b7b0e612becaf11b085d69;p=syj.git diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index 455f90b..03355a2 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -18,9 +18,9 @@ if ($this->errorMsg) { $message .= $this->errorMsg; $msgclass = "error"; } else if (!$this->path and !$this->loggedUser) { - $message .= $this->translate('Welcome on Syj.'); + $message .= $this->translate('To create a journey, press "start a route" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it.'); $message .= "
"; - $message .= $this->translate('To create a journey, just press "start a route" 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'); + $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"; @@ -85,14 +85,14 @@ if ($this->errorMsg) {
translate("export")?>
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'),