2016-11-30 19:00:03 +00:00
|
|
|
<div id="sidebar" class="sidebar">
|
|
|
|
<!-- Nav tabs -->
|
|
|
|
<ul class="sidebar-tabs" role="tablist">
|
2016-12-14 18:15:40 +00:00
|
|
|
<li class="active" title="<?php p($l->t('Load and save files')); ?>"><a href="#ho" role="tab"><i class="fa fa-bars"></i></a></li>
|
2017-05-02 17:13:52 +00:00
|
|
|
<li title="<?php p($l->t('Options')); ?>"><a href="#gpxeditsettings" role="tab"><i class="fa fa-gear"></i></a></li>
|
2016-11-30 19:00:03 +00:00
|
|
|
<li title="<?php p($l->t('About GpxEdit')); ?>"><a href="#help" role="tab"><i class="fa fa-question"></i></a></li>
|
|
|
|
</ul>
|
|
|
|
<!-- Tab panes -->
|
|
|
|
<div class="sidebar-content active">
|
|
|
|
<div class="sidebar-pane active" id="ho">
|
2017-05-04 22:15:53 +00:00
|
|
|
<div id="loaddiv">
|
|
|
|
<div id="logofolder">
|
|
|
|
<div id="logo">
|
|
|
|
<!--p align="center"><img src="gpxedit.png"/></p-->
|
|
|
|
<div>
|
|
|
|
<p id="versionnumber">v
|
|
|
|
<?php
|
|
|
|
p($_['gpxedit_version']);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
</div>
|
2016-11-30 19:00:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-04 22:05:47 +00:00
|
|
|
<button id="loadButton"><i class="fa fa-file-o"></i> <?php p($l->t('Load file'));?></button>
|
|
|
|
<button id="loadFolderButton"><i class="fa fa-folder-open-o"></i> <?php p($l->t('Load directory'));?></button>
|
|
|
|
<select id="loadtypeselect">
|
2017-05-05 00:19:38 +00:00
|
|
|
<option value="all"><?php p($l->t('all files'));?></option>
|
2017-05-04 22:05:47 +00:00
|
|
|
<option value=".jpg">jpg</option>
|
|
|
|
<option value=".gpx">gpx</option>
|
|
|
|
<option value=".kml">kml</option>
|
|
|
|
<option value=".csv">csv</option>
|
|
|
|
</select>
|
2017-03-27 18:36:25 +00:00
|
|
|
</div>
|
2016-12-01 18:38:50 +00:00
|
|
|
<hr/>
|
2016-12-15 02:54:28 +00:00
|
|
|
<h2 id="savetitle"><?php p($l->t('Save'));?></h2>
|
|
|
|
<div>
|
2017-06-25 17:10:27 +00:00
|
|
|
<label id="saveNameLabel"><?php p($l->t('File name'));?> :</label>
|
2016-12-15 02:54:28 +00:00
|
|
|
<input id="saveName" type="text"></input>
|
2016-12-02 09:51:27 +00:00
|
|
|
</div>
|
2017-06-25 17:10:27 +00:00
|
|
|
<p id="metadatalabel"><b><?php p($l->t('Metadata'));?> </b> <i class="fa fa-angle-double-down"></i></p>
|
|
|
|
<div id="metadata">
|
|
|
|
<label><?php p($l->t('Track name (optional)'));?> :</label><br/>
|
|
|
|
<input id="tracknameinput"/><br/>
|
|
|
|
<label><?php p($l->t('Description (optional)'));?> :</label><br/>
|
|
|
|
<textarea id="desctext"></textarea>
|
|
|
|
<label><?php p($l->t('Link text (optional)'));?> :</label><br/>
|
|
|
|
<input id="linktextinput"/><br/>
|
|
|
|
<label><?php p($l->t('Link URL (optional)'));?> :</label><br/>
|
|
|
|
<input id="linkurlinput"/>
|
|
|
|
</div>
|
2016-12-15 02:54:28 +00:00
|
|
|
<button id="saveButton"><i class="fa fa-save"></i> <?php p($l->t('Choose directory and save'));?></button>
|
|
|
|
<div style="clear:both"></div>
|
2016-11-30 19:00:03 +00:00
|
|
|
<hr/>
|
2016-12-14 18:15:40 +00:00
|
|
|
<button id="clearButton"><i class="fa fa-bomb"></i> <?php p($l->t('Clear map'));?></button>
|
2016-12-01 18:38:50 +00:00
|
|
|
<div id="saved"><p>
|
|
|
|
<i class="fa fa-save fa-spin fa-3x fa-fw"></i>
|
2016-12-02 14:31:45 +00:00
|
|
|
<b id="content"></b></p>
|
|
|
|
</div>
|
|
|
|
<div id="failed"><p>
|
|
|
|
<i class="fa fa-save fa-spin fa-3x fa-fw"></i>
|
|
|
|
<b id="content"></b></p>
|
2016-12-01 18:38:50 +00:00
|
|
|
</div>
|
2016-12-27 17:04:47 +00:00
|
|
|
<div id="loading"><p>
|
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
|
2017-01-29 19:44:38 +00:00
|
|
|
<?php p($l->t('loading file')); ?> (<i id="loadingpc"></i> %)</p>
|
2016-12-27 17:04:47 +00:00
|
|
|
</div>
|
2017-01-28 02:57:26 +00:00
|
|
|
<div id="exporting"><p>
|
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
|
|
|
|
<?php p($l->t('exporting file to gpx')); ?> </p>
|
|
|
|
</div>
|
|
|
|
<div id="saving"><p>
|
|
|
|
<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
|
2017-01-29 19:44:38 +00:00
|
|
|
<?php p($l->t('saving file')); ?> (<i id="savingpc"></i> %)</p>
|
2017-01-28 02:57:26 +00:00
|
|
|
</div>
|
2016-11-30 19:00:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
echo '<p id="username" style="display:none">';
|
|
|
|
p($_['username']);
|
|
|
|
echo '</p>'."\n";
|
2016-12-13 02:28:57 +00:00
|
|
|
echo '<ul id="extrasymbols" style="display:none">';
|
|
|
|
foreach($_['extrasymbols'] as $symbol){
|
|
|
|
echo '<li name="';
|
|
|
|
p($symbol['name']);
|
|
|
|
echo '">';
|
|
|
|
p($symbol['smallname']);
|
|
|
|
echo '</li>';
|
|
|
|
}
|
|
|
|
echo '</ul>'."\n";
|
2017-05-14 15:57:53 +00:00
|
|
|
echo '<ul id="basetileservers" style="display:none">';
|
|
|
|
foreach($_['basetileservers'] as $ts){
|
2017-06-12 16:46:16 +00:00
|
|
|
echo '<li';
|
|
|
|
foreach (Array('name', 'type', 'url', 'layers', 'version', 'format', 'opacity', 'transparent', 'minzoom', 'maxzoom', 'attribution') as $field) {
|
|
|
|
if (array_key_exists($field, $ts)) {
|
|
|
|
echo ' '.$field.'="';
|
|
|
|
p($ts[$field]);
|
|
|
|
echo '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '></li>';
|
2017-05-14 15:57:53 +00:00
|
|
|
}
|
|
|
|
echo '</ul>'."\n";
|
2016-11-30 19:00:03 +00:00
|
|
|
|
|
|
|
?>
|
2016-12-06 14:12:40 +00:00
|
|
|
</div>
|
2017-05-02 17:13:52 +00:00
|
|
|
<div class="sidebar-pane" id="gpxeditsettings">
|
2016-12-14 18:15:40 +00:00
|
|
|
<h1 class="sectiontitle"><?php p($l->t('Options')); ?></h1>
|
2016-12-06 14:12:40 +00:00
|
|
|
<hr/>
|
2017-05-05 14:08:58 +00:00
|
|
|
<div id="optiontop">
|
|
|
|
<label for="markerstyleselect" title="<?php p($l->t('Default symbol for waypoints when value is not set'));?>">
|
|
|
|
<?php p($l->t('Waypoint style'));?>:
|
|
|
|
</label>
|
2016-12-14 18:15:40 +00:00
|
|
|
<select id="markerstyleselect">
|
|
|
|
</select>
|
2017-05-05 14:08:58 +00:00
|
|
|
<label for="tooltipstyleselect"><?php p($l->t('Tooltip'));?>:</label>
|
2016-12-14 18:15:40 +00:00
|
|
|
<select id="tooltipstyleselect">
|
|
|
|
<option value="h"><?php p($l->t('on hover')); ?></option>
|
|
|
|
<option value="p"><?php p($l->t('permanent')); ?></option>
|
|
|
|
</select>
|
2017-05-05 14:08:58 +00:00
|
|
|
<label title="<?php p($l->t('Use defined symbols instead of default symbol')); ?>"
|
|
|
|
for="symboloverwrite"><?php p($l->t('Use defined symbols')); ?></label>
|
2017-06-01 17:19:05 +00:00
|
|
|
<input title="<?php p($l->t('Use defined symbols instead of default symbol')); ?>"
|
|
|
|
id="symboloverwrite" type="checkbox" checked></input>
|
2016-12-15 02:54:28 +00:00
|
|
|
<label for="clearbeforeload"><?php p($l->t('Clear map before loading'));?></label>
|
2017-06-01 17:19:05 +00:00
|
|
|
<input type="checkbox" id="clearbeforeload" checked></input>
|
|
|
|
<label for="approximateele"><?php p($l->t('Approximate new points elevations'));?></label>
|
|
|
|
<input type="checkbox" id="approximateele"></input>
|
2016-12-15 02:54:28 +00:00
|
|
|
</div>
|
2017-06-23 14:25:54 +00:00
|
|
|
<hr/>
|
|
|
|
<h3 class="sectiontitle customtiletitle" for="tileserverdiv"><b><?php p($l->t('Custom tile servers')); ?></b> <i class="fa fa-angle-double-down" aria-hidden="true"></i></h3>
|
|
|
|
<div id="tileserverdiv">
|
2016-12-06 14:12:40 +00:00
|
|
|
<div id="tileserveradd">
|
2017-06-13 14:46:37 +00:00
|
|
|
<p><?php p($l->t('Server name')); ?> :</p>
|
|
|
|
<input type="text" id="tileservername" title="<?php p($l->t('For example : my custom server')); ?>"/>
|
|
|
|
<p><?php p($l->t('Server url')); ?> :</p>
|
|
|
|
<input type="text" id="tileserverurl" title="<?php p($l->t('For example : http://tile.server.org/cycle/{z}/{x}/{y}.png')); ?>"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Min zoom (1-20)')); ?> :</p>
|
|
|
|
<input type="text" id="tileminzoom" value="1"/>
|
|
|
|
<p><?php p($l->t('Max zoom (1-20)')); ?> :</p>
|
|
|
|
<input type="text" id="tilemaxzoom" value="18"/>
|
2016-12-06 14:12:40 +00:00
|
|
|
<button id="addtileserver"><i class="fa fa-plus-circle" aria-hidden="true" style="color:green;"></i> <?php p($l->t('Add')); ?></button>
|
|
|
|
</div>
|
|
|
|
<div id="tileserverlist">
|
2017-06-12 22:45:54 +00:00
|
|
|
<h3><?php p($l->t('Your tile servers')); ?></h3>
|
2016-12-06 14:12:40 +00:00
|
|
|
<ul class="disclist">
|
|
|
|
<?php
|
2017-06-12 22:45:54 +00:00
|
|
|
if (count($_['usertileservers']) > 0){
|
|
|
|
foreach($_['usertileservers'] as $ts){
|
2017-06-13 14:46:37 +00:00
|
|
|
echo '<li title="'.$ts['url'].'"';
|
2017-06-12 22:45:54 +00:00
|
|
|
foreach (Array('servername', 'type', 'url', 'layers', 'version', 'format', 'opacity', 'transparent', 'minzoom', 'maxzoom', 'attribution') as $field) {
|
|
|
|
if (array_key_exists($field, $ts)) {
|
|
|
|
echo ' '.$field.'="';
|
|
|
|
p($ts[$field]);
|
|
|
|
echo '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '>';
|
|
|
|
p($ts['servername']);
|
2017-06-13 14:51:42 +00:00
|
|
|
echo '  <button><i class="fa fa-trash" aria-hidden="true" style="color:red;"></i> ';
|
2016-12-06 14:12:40 +00:00
|
|
|
p($l->t('Delete'));
|
|
|
|
echo '</button></li>';
|
|
|
|
}
|
|
|
|
}
|
2017-05-14 15:57:53 +00:00
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-06-23 14:25:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
<h3 class="sectiontitle customtiletitle" for="overlayserverdiv"><b><?php p($l->t('Custom overlay tile servers')); ?></b> <i class="fa fa-angle-double-down" aria-hidden="true"></i></h3>
|
|
|
|
<div id="overlayserverdiv">
|
2017-05-14 15:57:53 +00:00
|
|
|
<div id="overlayserveradd">
|
2017-06-13 14:46:37 +00:00
|
|
|
<p><?php p($l->t('Server name')); ?> :</p>
|
|
|
|
<input type="text" id="overlayservername" title="<?php p($l->t('For example : my custom server')); ?>"/>
|
|
|
|
<p><?php p($l->t('Server url')); ?> :</p>
|
|
|
|
<input type="text" id="overlayserverurl" title="<?php p($l->t('For example : http://overlay.server.org/cycle/{z}/{x}/{y}.png')); ?>"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Min zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlayminzoom" value="1"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Max zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaymaxzoom" value="18"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<label for="overlaytransparent"><?php p($l->t('Transparent')); ?> :</label>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="checkbox" id="overlaytransparent" checked/>
|
|
|
|
<p><?php p($l->t('Opacity (0.0-1.0)')); ?> :</p>
|
|
|
|
<input type="text" id="overlayopacity" value="0.4"/>
|
2017-05-14 15:57:53 +00:00
|
|
|
<button id="addoverlayserver"><i class="fa fa-plus-circle" aria-hidden="true" style="color:green;"></i> <?php p($l->t('Add')); ?></button>
|
|
|
|
</div>
|
|
|
|
<div id="overlayserverlist">
|
2017-06-12 22:45:54 +00:00
|
|
|
<h3><?php p($l->t('Your overlay tile servers')); ?></h3>
|
|
|
|
<ul class="disclist">
|
|
|
|
<?php
|
|
|
|
if (count($_['useroverlayservers']) > 0){
|
|
|
|
foreach($_['useroverlayservers'] as $ts){
|
2017-06-13 14:46:37 +00:00
|
|
|
echo '<li title="'.$ts['url'].'"';
|
2017-06-12 22:45:54 +00:00
|
|
|
foreach (Array('servername', 'type', 'url', 'layers', 'version', 'format', 'opacity', 'transparent', 'minzoom', 'maxzoom', 'attribution') as $field) {
|
|
|
|
if (array_key_exists($field, $ts)) {
|
|
|
|
echo ' '.$field.'="';
|
|
|
|
p($ts[$field]);
|
|
|
|
echo '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '>';
|
|
|
|
p($ts['servername']);
|
2017-06-13 14:51:42 +00:00
|
|
|
echo '  <button><i class="fa fa-trash" aria-hidden="true" style="color:red;"></i> ';
|
2017-06-12 22:45:54 +00:00
|
|
|
p($l->t('Delete'));
|
|
|
|
echo '</button></li>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-06-23 14:25:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
<h3 class="sectiontitle customtiletitle" for="tilewmsserverdiv"><b><?php p($l->t('Custom WMS tile servers')); ?></b> <i class="fa fa-angle-double-down" aria-hidden="true"></i></h3>
|
|
|
|
<div id="tilewmsserverdiv">
|
2017-06-13 14:46:37 +00:00
|
|
|
<div id="tilewmsserveradd">
|
|
|
|
<p><?php p($l->t('Server name')); ?> :</p>
|
|
|
|
<input type="text" id="tilewmsservername" title="<?php p($l->t('For example : my custom server')); ?>"/>
|
|
|
|
<p><?php p($l->t('Server url')); ?> :</p>
|
|
|
|
<input type="text" id="tilewmsserverurl" title="<?php p($l->t('For example : http://tile.server.org/cycle/{z}/{x}/{y}.png')); ?>"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Min zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="tilewmsminzoom" value="1"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Max zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="tilewmsmaxzoom" value="18"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Format')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="tilewmsformat" value="image/jpeg"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('WMS version')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="tilewmsversion" value="1.1.1"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Layers to display')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="tilewmslayers" value=""/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<button id="addtileserverwms"><i class="fa fa-plus-circle" aria-hidden="true" style="color:green;"></i> <?php p($l->t('Add')); ?></button>
|
|
|
|
</div>
|
2017-06-13 14:46:37 +00:00
|
|
|
<div id="tilewmsserverlist">
|
2017-06-12 22:45:54 +00:00
|
|
|
<h3><?php p($l->t('Your WMS tile servers')); ?></h3>
|
|
|
|
<ul class="disclist">
|
|
|
|
<?php
|
|
|
|
if (count($_['usertileserverswms']) > 0){
|
|
|
|
foreach($_['usertileserverswms'] as $ts){
|
2017-06-13 14:46:37 +00:00
|
|
|
echo '<li title="'.$ts['url'].'"';
|
2017-06-12 22:45:54 +00:00
|
|
|
foreach (Array('servername', 'type', 'url', 'layers', 'version', 'format', 'opacity', 'transparent', 'minzoom', 'maxzoom', 'attribution') as $field) {
|
|
|
|
if (array_key_exists($field, $ts)) {
|
|
|
|
echo ' '.$field.'="';
|
|
|
|
p($ts[$field]);
|
|
|
|
echo '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '>';
|
|
|
|
p($ts['servername']);
|
2017-06-13 14:51:42 +00:00
|
|
|
echo '  <button><i class="fa fa-trash" aria-hidden="true" style="color:red;"></i> ';
|
2017-06-12 22:45:54 +00:00
|
|
|
p($l->t('Delete'));
|
|
|
|
echo '</button></li>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-06-23 14:25:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
<h3 class="sectiontitle customtiletitle" for="overlaywmsserverdiv"><b><?php p($l->t('Custom WMS overlay servers')); ?></b> <i class="fa fa-angle-double-down" aria-hidden="true"></i></h3>
|
|
|
|
<div id="overlaywmsserverdiv">
|
2017-06-13 14:46:37 +00:00
|
|
|
<div id="overlaywmsserveradd">
|
|
|
|
<p><?php p($l->t('Server name')); ?> :</p>
|
|
|
|
<input type="text" id="overlaywmsservername" title="<?php p($l->t('For example : my custom server')); ?>"/>
|
|
|
|
<p><?php p($l->t('Server url')); ?> :</p>
|
|
|
|
<input type="text" id="overlaywmsserverurl" title="<?php p($l->t('For example : http://overlay.server.org/cycle/{z}/{x}/{y}.png')); ?>"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Min zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaywmsminzoom" value="1"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Max zoom (1-20)')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaywmsmaxzoom" value="18"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<label for="overlaywmstransparent"><?php p($l->t('Transparent')); ?> :</label>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="checkbox" id="overlaywmstransparent" checked/>
|
|
|
|
<p><?php p($l->t('Opacity (0.0-1.0)')); ?> :</p>
|
|
|
|
<input type="text" id="overlaywmsopacity" value="0.4"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Format')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaywmsformat" value="image/jpeg"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('WMS version')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaywmsversion" value="1.1.1"/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<p><?php p($l->t('Layers to display')); ?> :</p>
|
2017-06-13 14:46:37 +00:00
|
|
|
<input type="text" id="overlaywmslayers" value=""/>
|
2017-06-12 22:45:54 +00:00
|
|
|
<button id="addoverlayserverwms"><i class="fa fa-plus-circle" aria-hidden="true" style="color:green;"></i> <?php p($l->t('Add')); ?></button>
|
|
|
|
</div>
|
2017-06-13 14:46:37 +00:00
|
|
|
<div id="overlaywmsserverlist">
|
2017-06-12 22:45:54 +00:00
|
|
|
<h3><?php p($l->t('Your WMS overlay tile servers')); ?></h3>
|
2017-05-14 15:57:53 +00:00
|
|
|
<ul class="disclist">
|
|
|
|
<?php
|
2017-06-12 22:45:54 +00:00
|
|
|
if (count($_['useroverlayserverswms']) > 0){
|
|
|
|
foreach($_['useroverlayserverswms'] as $ts){
|
2017-06-13 14:46:37 +00:00
|
|
|
echo '<li title="'.$ts['url'].'"';
|
2017-06-12 22:45:54 +00:00
|
|
|
foreach (Array('servername', 'type', 'url', 'layers', 'version', 'format', 'opacity', 'transparent', 'minzoom', 'maxzoom', 'attribution') as $field) {
|
|
|
|
if (array_key_exists($field, $ts)) {
|
|
|
|
echo ' '.$field.'="';
|
|
|
|
p($ts[$field]);
|
|
|
|
echo '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '>';
|
|
|
|
p($ts['servername']);
|
2017-06-13 14:51:42 +00:00
|
|
|
echo '  <button><i class="fa fa-trash" aria-hidden="true" style="color:red;"></i> ';
|
2017-05-14 15:57:53 +00:00
|
|
|
p($l->t('Delete'));
|
|
|
|
echo '</button></li>';
|
|
|
|
}
|
|
|
|
}
|
2016-12-06 14:12:40 +00:00
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-06-23 14:25:54 +00:00
|
|
|
</div>
|
2016-12-06 14:12:40 +00:00
|
|
|
|
2016-11-30 19:00:03 +00:00
|
|
|
</div>
|
|
|
|
<div class="sidebar-pane" id="help">
|
2016-12-01 16:04:32 +00:00
|
|
|
<h1 class="sectiontitle"><?php p($l->t('About GpxEdit')); ?></h1>
|
2016-11-30 19:00:03 +00:00
|
|
|
<hr/><br/>
|
2017-05-14 15:01:24 +00:00
|
|
|
<h3 class="sectiontitle"><?php p($l->t('Features overview')); ?> :</h3>
|
|
|
|
<?php
|
|
|
|
p($l->t('Draw, edition and deletion buttons are in the map\'s bottom-left corner.'));
|
|
|
|
p(' ');
|
|
|
|
p($l->t('You can draw a line or add a marker.'));
|
|
|
|
p(' ');
|
|
|
|
p($l->t('If you click on a line or a marker, a popup pops and let you set the object properties.'));
|
|
|
|
p(' ');
|
|
|
|
?>
|
|
|
|
<br/>
|
|
|
|
<?php
|
|
|
|
p($l->t('After a click on "edition" button, in edition mode, you can'));
|
|
|
|
?> :
|
2016-11-30 19:00:03 +00:00
|
|
|
<ul class="disclist">
|
2017-05-14 15:01:24 +00:00
|
|
|
<li><?php p($l->t('move markers')); ?></li>
|
|
|
|
<li><?php p($l->t('move line points')); ?></li>
|
|
|
|
<li><?php p($l->t('click on a line point to remove it')); ?></li>
|
2017-05-30 14:51:14 +00:00
|
|
|
<li><?php p($l->t('hover a "middle marker" (between two line points) and press "Del" to cut the line in two (this action cannot be canceled)')); ?></li>
|
2016-11-30 19:00:03 +00:00
|
|
|
</ul>
|
|
|
|
<br/><hr/><br/>
|
2017-05-14 15:01:24 +00:00
|
|
|
<h3 class="sectiontitle"><?php p($l->t('Shortcuts')); ?> :</h3>
|
2016-11-30 19:00:03 +00:00
|
|
|
<ul class="disclist">
|
2017-05-14 15:01:24 +00:00
|
|
|
<li><b><</b> : <?php p($l->t('toggle sidebar')); ?></li>
|
|
|
|
<li><b>!</b> : <?php p($l->t('toggle minimap')); ?></li>
|
2016-11-30 19:00:03 +00:00
|
|
|
</ul>
|
|
|
|
<br/><hr/><br/>
|
|
|
|
<h3 class="sectiontitle"><?php p($l->t('Documentation')); ?></h3>
|
2016-12-01 16:04:32 +00:00
|
|
|
<a class="toplink" target="_blank" href="https://gitlab.com/eneiluj/gpxedit-oc/wikis/home">
|
2016-11-30 19:00:03 +00:00
|
|
|
<i class="fa fa-gitlab" aria-hidden="true"></i>
|
|
|
|
Project wiki
|
|
|
|
</a>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<br/><hr/><br/>
|
|
|
|
<h3 class="sectiontitle"><?php p($l->t('Source management')); ?></h3>
|
|
|
|
<ul class="disclist">
|
2016-12-01 16:04:32 +00:00
|
|
|
<li><a class="toplink" target="_blank" href="https://gitlab.com/eneiluj/gpxedit-oc">
|
2016-11-30 19:00:03 +00:00
|
|
|
<i class="fa fa-gitlab" aria-hidden="true"></i>
|
|
|
|
Gitlab project main page</a></li>
|
2016-12-01 16:04:32 +00:00
|
|
|
<li><a class="toplink" target="_blank" href="https://gitlab.com/eneiluj/gpxedit-oc/issues">
|
2016-11-30 19:00:03 +00:00
|
|
|
<i class="fa fa-gitlab" aria-hidden="true"></i>
|
|
|
|
Gitlab project issue tracker</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<br/><hr/><br/>
|
|
|
|
<h3 class="sectiontitle"><?php p($l->t('Authors')); ?> :</h3>
|
|
|
|
<ul class="disclist">
|
|
|
|
<li>Julien Veyssier</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- ============= MAP DIV =============== -->
|
|
|
|
<div id="map" class="sidebar-map"></div>
|
|
|
|
|