Improved the help of the WMS server connection creation

This commit is contained in:
Alejandro Gallardo Escobar 2018-05-08 17:29:58 +02:00
parent e1319cb584
commit e77b9f35b6
2 changed files with 5 additions and 14 deletions

View File

@ -279,14 +279,17 @@ $optionsConnectionImageTable = '<table class="databox" border="0" cellpadding="4
// WMS Server Connection // WMS Server Connection
$optionsConnectionWMSTable = '<table class="databox" border="0" cellpadding="4" cellspacing="4" width="50%">' . $optionsConnectionWMSTable = '<table class="databox" border="0" cellpadding="4" cellspacing="4" width="50%">' .
'<tr class="row_0">' . '<tr class="row_0">' .
'<td>' . __("WMS Server URL") . ':</td>' . '<td>' . __("WMS Server URL") . '</td>' .
'<td>' . '<td>' .
'<input id="type" type="hidden" name="type" value="WMS" />' . '<input id="type" type="hidden" name="type" value="WMS" />' .
html_print_input_text('url', $mapConnectionDataUrl, '', 90, 255, true) . html_print_input_text('url', $mapConnectionDataUrl, '', 90, 255, true) .
'</td>' . '</td>' .
'</tr>' . '</tr>' .
'<tr class="row_1">' . '<tr class="row_1">' .
'<td>' . __("Layers") . ':</td>' . '<td>' .
__("Layers") .
ui_print_help_tip (__('Enter a single element or a comma separated list'), true) .
'</td>' .
'<td>' . '<td>' .
html_print_input_text('layers', $layers, '', 90, 255, true) . html_print_input_text('layers', $layers, '', 90, 255, true) .
'</td>' . '</td>' .

View File

@ -238,18 +238,6 @@ if ($layers != false) {
gis_activate_ajax_refresh($layers, $timestampLastOperation); gis_activate_ajax_refresh($layers, $timestampLastOperation);
} }
// Resize GIS map on fullscreen
// if ($config["pure"] != 0) {
// <script type="text/javascript">
// $().ready(function() {
// var new_height = $(document).height();
// $("#map").css("height", new_height - 60);
// $("svg[id*=OpenLayers]").css("height", new_height - 60);
// });
// </script>
// }
?> ?>
<script type="text/javascript"> <script type="text/javascript">