<?php
/*  (c) Copyright 2026 MiKa (http://wp-osm-plugin.Hyumika.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/
?>

<div class="wrap">
<table border="0">
 <tr>
  <td><p><img src="<?php echo OSM_PLUGIN_URL ?>/WP_OSM_Plugin_Logo.png" alt="Osm Logo"></p></td>
  <td><h2>OpenStreetMap Plugin <?php echo PLUGIN_VER ?> </h2></td>
 </tr>
</table>
<h3><?php _e('NOTE: There is a WP OSM Plugin shortcode generator when you create a post / page','osm') ?></h3>

<h3><?php _e('Some usefull sites for this plugin:','osm') ?></h3>
<ol>
  <li><?php _e('for advanced samples visit the ','osm') ?><a target="_new" href="http://wp-osm-plugin.hyumika.com">osm-plugin page</a>.</li>
  <li><?php _e('for questions, bugs and other feedback visit the','osm') ?> <a target="_new" href="https://wp-osm-plugin.hyumika.com/forums/forum/WordPress-OpenStreetMap">forum</a></a></li>
  <li><?php _e('Follow us on Bluesky: ','osm') ?><a target="_new" href="https://bsky.app/profile/mika-official.bsky.social">wp-osm-plugin</a>.</li>
  <li><?php _e('download the last version at WordPress.org ','osm') ?><a target="_new" href="http://wordpress.org/extend/plugins/osm/">osm-plugin download</a>.</li>
</ol>
<h3><?php _e('If you want to express thanks for this plugin ...','osm') ?></h3>
<ol>
  <li><?php _e('give this plugin a good ranking at ','osm') ?><a target="_new" href="http://wordpress.org/support/view/plugin-reviews/osm">WordPress.org</a>.</li>
  <li><?php _e('post an article about ','osm') ?><a target="_new" href="http://www.OpenStreetMap.org">OpenStreetMap</a><?php _e(' on your blog.','osm') ?></li>
</ol>
<form method="post">   
<h3> Shortcodegenerator Settings:</h3>
<table>
 <tr>
  <td><label for="osm_zoom_level"><?php _e('Default Latitude for maps','osm') ?>:</label></td>
  <td><input type="text" name="osm_default_lat" value="<?php echo esc_attr($osm_default_lat) ?>" /></td>
 </tr>
 <tr>
  <td><label for="osm_zoom_level"><?php _e('Default Longitude for maps','osm') ?>:</label></td>
  <td><input type="text" name="osm_default_lon" value="<?php echo esc_attr($osm_default_lon) ?>" /></td>
 </tr>
 <tr>
  <td><label for="osm_zoom_level"><?php _e('Default Zoom Level for maps','osm') ?>:</label></td>
  <td><input type="text" name="osm_default_zoom" value="<?php echo esc_attr($osm_default_zoom) ?>" /></td>
 </tr>
</table>
<?php wp_nonce_field( 'update_options', 'osm_options' ); ?>
<div class="submit"><input type="submit" name="Options" value="<?php _e('Update Options','osm') ?> &raquo;" /></div>
</form>  

