diff options
author | Marc Delisle <marc@infomarc.info> | 2015-12-04 17:05:42 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2015-12-04 17:05:42 +0300 |
commit | 357b1b4757316360e288d68fb90a6496bf621181 (patch) | |
tree | 3a128111ce6bc7a58c36b24485e99e039d54f70d /gis_data_editor.php | |
parent | 4f2311e1a66b9e1fbb160e1932ab731231550d5a (diff) |
Remove some unnecessary string concatenations
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'gis_data_editor.php')
-rw-r--r-- | gis_data_editor.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gis_data_editor.php b/gis_data_editor.php index c5c93e72a3..7ae2ad842c 100644 --- a/gis_data_editor.php +++ b/gis_data_editor.php @@ -109,7 +109,7 @@ ob_start(); echo '<form id="gis_data_editor_form" action="gis_data_editor.php" method="post">'; echo '<input type="hidden" id="pmaThemeImage"' - . ' value="' . $GLOBALS['pmaThemeImage'] . '" />'; + , ' value="' , $GLOBALS['pmaThemeImage'] , '" />'; echo '<div id="gis_data_editor">'; echo '<h3>'; @@ -131,18 +131,18 @@ echo PMA_URL_getHiddenInputs(); echo '<!-- Visualization section -->'; echo '<div id="placeholder" style="width:450px;height:300px;' - . ($srid != 0 ? 'display:none;' : '') . '">'; + , ($srid != 0 ? 'display:none;' : '') , '">'; echo $visualization; echo '</div>'; echo '<div id="openlayersmap" style="width:450px;height:300px;' - . ($srid == 0 ? 'display:none;' : '') . '">'; + , ($srid == 0 ? 'display:none;' : '') , '">'; echo '</div>'; echo '<div class="choice" style="float:right;clear:right;">'; echo '<input type="checkbox" id="choice" value="useBaseLayer"' - . ($srid != 0 ? ' checked="checked"' : '') . '/>'; -echo '<label for="choice">' . __("Use OpenStreetMaps as Base Layer") . '</label>'; + , ($srid != 0 ? ' checked="checked"' : '') , '/>'; +echo '<label for="choice">' , __("Use OpenStreetMaps as Base Layer") , '</label>'; echo '</div>'; echo '<script language="javascript" type="text/javascript">'; @@ -165,7 +165,7 @@ echo '</select>'; echo ' '; /* l10n: Spatial Reference System Identifier */ echo '<label for="srid">' . __('SRID:') . '</label>'; -echo '<input name="gis_data[srid]" type="text" value="' . $srid . '" />'; +echo '<input name="gis_data[srid]" type="text" value="' , $srid , '" />'; echo '</div>'; echo '<!-- End of header section -->'; @@ -211,11 +211,11 @@ for ($a = 0; $a < $geom_count; $a++) { echo '<br/>'; echo __('Point:'); echo '<label for="x">' . __("X") . '</label>'; - echo '<input name="gis_data[' . $a . '][POINT][x]" type="text"' - . ' value="' . escape($gis_data[$a]['POINT']['x']) . '" />'; - echo '<label for="y">' . __("Y") . '</label>'; - echo '<input name="gis_data[' . $a . '][POINT][y]" type="text"' - . ' value="' . escape($gis_data[$a]['POINT']['y']) . '" />'; + echo '<input name="gis_data[' , $a , '][POINT][x]" type="text"' + , ' value="' , escape($gis_data[$a]['POINT']['x']) , '" />'; + echo '<label for="y">' , __("Y") , '</label>'; + echo '<input name="gis_data[' , $a , '][POINT][y]" type="text"' + , ' value="' , escape($gis_data[$a]['POINT']['y']) , '" />'; } elseif ($type == 'MULTIPOINT' || $type == 'LINESTRING') { $no_of_points = isset($gis_data[$a][$type]['no_of_points']) @@ -399,16 +399,16 @@ for ($a = 0; $a < $geom_count; $a++) { if ($geom_type == 'GEOMETRYCOLLECTION') { echo '<br/><br/>'; echo '<input type="submit" name="gis_data[GEOMETRYCOLLECTION][add_geom]"' - . 'class="add addGeom" value="' . __("Add geometry") . '" />'; + , 'class="add addGeom" value="' , __("Add geometry") , '" />'; } echo '</div>'; echo '<!-- End of data section -->'; echo '<br/>'; -echo '<input type="submit" name="gis_data[save]" value="' . __('Go') . '" />'; +echo '<input type="submit" name="gis_data[save]" value="' , __('Go') , '" />'; echo '<div id="gis_data_output">'; -echo '<h3>' . __('Output') . '</h3>'; +echo '<h3>' , __('Output') , '</h3>'; echo '<p>'; echo __( 'Choose "GeomFromText" from the "Function" column and paste the' |