Skip to content

Commit

Permalink
Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
PCigales authored Jul 8, 2022
1 parent 2404cc5 commit b374de0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kmz.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ set kmzfic="%kmlrepdest%%kmlname%.kmz"
set kmlfic="%kmlrepdest%%kmlname% - kmz.kml"
set kmlviewer=%kmlrepdest%viewer.htm
if not exist "%kmlviewer%" copy "%~dp0viewer.htm" "%kmlviewer%">nul
set kmlviewer=%kmlviewer:\=/%
set kmliconpref=thumbs/%kmlname% -
echo. 2>"%kmlrepdest%%kmlname%.lst"
echo Scan de "%kmlrepscan%" pour création de %kmlfic%
Expand Down Expand Up @@ -66,7 +65,7 @@ echo ^<div style="width:308px;height:200px;"^>^<img src="$[url]" class="ori$[ori
echo ^<div style="width:300px;"^>^<b^>Nom: ^</b^>^<a href="" id="lien"^>$[name]^</a^>^</div^>^<hr/^>>>%kmlfic%
echo ^<script^>>>%kmlfic%
echo var p="$[ori]"+encodeURIComponent^("$[url]"^).replace^(/%%/g,"*"^);>>%kmlfic%
echo document.getElementById^("lien"^).href="file:///%kmlviewer%#"+p;>>%kmlfic%
echo document.getElementById^("lien"^).href="../viewer.htm#"+p;>>%kmlfic%
echo ^</script^>>>%kmlfic%
echo ^<br/^>$[geDirections]]]^>>>%kmlfic%
echo ^</text^>>>%kmlfic%
Expand Down

0 comments on commit b374de0

Please sign in to comment.