X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=da47129aee588b2f9470c1a354731aff3601bb98;hp=03355a2a817799b132cbbcc502db1286ff3e7cbb;hb=3728a2a2feb7474ddb2ef90340112bea8fda0574;hpb=5ad86066e491fdc16978940e9d2e9ee2152a6db3 diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index 03355a2..da47129 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -85,14 +85,15 @@ if ($this->errorMsg) {
translate("export")?>
path->displayTitle) . '.kml'; + $fileName = $this->path->title ?: $this->path->id; + $href = $fullBaseUrl . 'geom/' . rawurlencode($fileName) . '.kml'; printf('%s', $href, $this->translate('kml export'), $this->translate('kml export')); print '
'; - $href = $fullBaseUrl . 'geom/' . rawurlencode($this->path->displayTitle) . '.gpx'; + $href = $fullBaseUrl . 'geom/' . rawurlencode($fileName) . '.gpx'; printf('%s', $href, $this->translate('gpx export'),