There is not. I'm going to paste a little of the code in. It's all handled in one file so I'm leaving out a lot of the actual plugin functionality code
<?php
/*
Plugin Name: Geotag
Plugin URI: http://www.bobsp.de/weblog/geotag/
Description: Provides geocoding features for Wordpress.
Version: 1.0
Author: Boris Pulyer
Author URI: http://www.bobsp.de
Minimum WordPress Version Required: 2.7.0
Tested up to: 2.7.1
*/
/* ==================================================================== */
/* = Hooks, Filters, Globals etc. = */
/* ==================================================================== */
global $geotag_maps, $geotag_options;
$geotag_options = get_option("geotag_options");
function geotag_admin_init(){
register_setting( 'my-options-group', 'gmap_api_key', '' );
register_setting( 'my-options-group', 'gmap_dissplay_page', 'true' );
register_setting( 'my-options-group', 'auto_map', 'BOTTOM' );
register_setting( 'my-options-group', 'gmap_type', 'G_HYBRID_MAP' );
register_setting( 'my-options-group', 'gmap_controls_zoompan', '' );
register_setting( 'my-options-group', 'gmap_controls_maptype', '' );
register_setting( 'my-options-group', 'gmap_zoom', '' );
register_setting( 'my-options-group', 'gmap_width', '' );
register_setting( 'my-options-group', 'gmap_height', '' );
register_setting( 'my-options-group', 'geotaged_photos', '' );
register_setting( 'my-options-group', 'misc', '' );
register_setting( 'my-options-group', 'misc_wpgeocompatibility', '' );
}
add_action( 'admin_init', 'geotag_admin_init' );
register_activation_hook(__FILE__, array("Geotag", "registerPlugin"));
add_action("admin_menu", array("Geotag", "hookAdminMenu"));
add_action("admin_footer", array("Geotag", "hookAdminFooter"));
add_action("save_post", array("Geotag", "hookSavePost"));
add_action("wp_head", array("Geotag", "hookWPHeader"));
add_action("wp_footer", array("Geotag", "hookWPFooter"));
add_filter("the_content", array("Geotag", "filterTheContent"));
add_shortcode("gmap", array("Geotag", "parseShortcode"));
if ($geotag_options["misc_wpgeocompatibility"]["SHORTCODE"] == "true") {add_shortcode("wp_geo_map", array("Geotag", "parseShortcode"));};
if ($geotag_options["misc"]["GEOTAG_FEEDS"] == "true") {
add_action("rss2_ns", array("Geotag", "hookFeedNamespace"));
add_action("atom_ns", array("Geotag", "hookFeedNamespace"));
add_action("rdf_ns", array("Geotag", "hookFeedNamespace"));
add_action("rss_item", array("Geotag", "hookFeedItem"));
add_action("rss2_item", array("Geotag", "hookFeedItem"));
add_action("atom_entry", array("Geotag", "hookFeedItem"));
add_action("rdf_item", array("Geotag", "hookFeedItem"));
}
/* ==================================================================== */
/* = Class Geotag = */
/* ==================================================================== */
class Geotag {
/* ==================================================================== */
/* = Register the plugin = */
/* ==================================================================== */
function registerPlugin() {
$options = array(
"gmap_api_key" => "",
"gmap_display_page" => array("SINGLE" => "true", "PAGE" => "true"),
"auto_map" => array("SHOW" => null, "POSITION" => "BOTTOM"),
"gmap_type" => "G_HYBRID_MAP",
"gmap_controls_zoompan" => "GLargeMapControl3D",
"gmap_controls_maptype" => array("G_NORMAL_MAP" => "true", "G_SATELLITE_MAP" => "true", "G_HYBRID_MAP" => "true", "G_PHYSICAL_MAP" => "true"),
"gmap_controls_other" => null,
"gmap_zoom" => "5",
"gmap_width" => "100%",
"gmap_height" => "300px",
"geotaged_photos" => array("READ_GEOTAGED_PHOTOS" => null, "ICON" => "CAMERA"),
"misc" => array("GEOTAG_FEEDS" => "true", "GEOTAG_HTML" => "true", "QUICKGUIDE" => "true"),
"misc_wpgeocompatibility" => array("DB" => "READ", "SHORTCODE" => "true")
);
add_option("geotag_options", $options);
}
and here is the form in the options screen
function displayOptions() {
global $geotag_options;
echo "
<div class='wrap'>
<h2>Geotag Configuration</h2>
<h3>Documentation</h3>
<p>If you want to learn more about how to use this plugin, take a look at the <a href='?page=geotag/documentation.php'>documentation</a>. You may also check out the <a href='http://www.bobsp.de/weblog/geotag'><em>Geotag</em> website</a>.</p>
<h3 style='margin-top: 3em;'>General Options</h3>
<form method='post' action='options.php'>";
settings_fields('my-options-group');
echo "
<table class='form-table'>
<tr valign='top'>
<th scope='row'>Google API Key</th>
<td><input name='geotag_options[gmap_api_key]' type='text' value='".$geotag_options["gmap_api_key"]."' size='50' ";
if (empty($geotag_options["gmap_api_key"])) {echo "style='border: 1px solid #d54e21; background-color: #ffebe8;'";}
echo " /><br />
You need a unique Google API Key for your website to display Google Maps. If you don't have one yet, <a href='http://code.google.com/apis/maps/signup.html' target='_blank'>sign up</a> to get one!</td>
</tr>
<tr valign='top'>
<th scope='row'>Show Map</th>
<td>Show maps only on this kind of pages:<br />".Geotag::displayOptions_Checkbox("geotag_options[gmap_display_page]", array("HOME" => "Home", "SINGLE" => "Single posts", "PAGE" => "Pages", "DATE" => "Date archives", "CATEGORY" => "Category Archives"), $geotag_options["gmap_display_page"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Auto Map</th>
<td>".Geotag::displayOptions_Checkbox("geotag_options[auto_map]", array("SHOW" => "Automatically show a map..."), $geotag_options["auto_map"])."
".Geotag::displayOptions_Select("geotag_options[auto_map][POSITION]", array("TOP" => "at the top of every post", "BOTTOM" => "at the bottom of every post"), $geotag_options["auto_map"]["POSITION"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Add Geotags</th>
<td>".Geotag::displayOptions_Checkbox("geotag_options[misc]", array("GEOTAG_FEEDS" => "Add geographical information to feeds"), $geotag_options["misc"])."
".Geotag::displayOptions_Checkbox("geotag_options[misc]", array("GEOTAG_HTML" => "Add geographical information to HTML Header"), $geotag_options["misc"])."</td>
</tr>
</table>
<h3 style='margin-top: 3em;'>Default Map Appearance</h3>
<p>Most of these settings can be overwritten in every post. See the <a href='?page=geotag/documentation.php'>documentation</a> for details.</p>
<table class='form-table'>
<tr valign='top'>
<th scope='row'>Map Type</th>
<td>".Geotag::displayOptions_Select("geotag_options[gmap_type]", array("G_NORMAL_MAP" => "Normal", "G_SATELLITE_MAP" => "Satellite", "G_HYBRID_MAP" => "Hybrid", "G_PHYSICAL_MAP" => "Physical (terrain information)", "G_STATIC_MAP" => "Static map (no gadgets but fast)"), $geotag_options["gmap_type"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Map Controls</th>
<td><strong>Zoom/Pan Controls</strong><br />".Geotag::displayOptions_Select("geotag_options[gmap_controls_zoompan]", array("GLargeMapControl3D" => "Large zoom/pan controls (new style)", "GLargeMapControl" => "Large zoom/pan controls", "GSmallMapControl" => "Small zoom/pan controls", "GSmallZoomControl3D " => "Small zoom control (new style)", "GSmallZoomControl" => "Small zoom control", "" => "No controls"), $geotag_options["gmap_controls_zoompan"])."<br /> <br />
<strong>Map Type Controls</strong><br />".Geotag::displayOptions_Checkbox("geotag_options[gmap_controls_maptype]", array("G_NORMAL_MAP" => "Normal", "G_SATELLITE_MAP" => "Satellite", "G_HYBRID_MAP" => "Hybrid", "G_PHYSICAL_MAP" => "Physical (terrain information)"), $geotag_options["gmap_controls_maptype"])."<br />
<strong>Other Map Controls</strong><br />".Geotag::displayOptions_Checkbox("geotag_options[gmap_controls_other]", array("GScaleControl" => "Show map scale", "GOverviewMapControl" => "Show small overview map"), $geotag_options["gmap_controls_other"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Map Zoom</th>
<td>".Geotag::displayOptions_Select("geotag_options[gmap_zoom]", array("0" => "0 - Zoomed out", "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10", "11" => "11", "12" => "12", "13" => "13", "14" => "14", "15" => "15", "16" => "16", "17" => "17", "18" => "18", "19" => "19 - Zoomed In"), $geotag_options["gmap_zoom"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Map Width</th>
<td><input name='geotag_options[gmap_width]' type='text' value='".$geotag_options["gmap_width"]."' size='10' /> Please add <em>%</em> or <em>px</em></td>
</tr>
<tr valign='top'>
<th scope='row'>Map Height</th>
<td><input name='geotag_options[gmap_height]' type='text' value='".$geotag_options["gmap_height"]."' size='10' /> Please add <em>%</em> or <em>px</em></td>
</tr>
<tr valign='top'>
<th scope='row'>Geotaged Photos</th>
<td>".Geotag::displayOptions_Checkbox("geotag_options[geotaged_photos]", array("READ_GEOTAGED_PHOTOS" => "Try to read the geotags from every photo of the post and display an icon on the maps"), $geotag_options["geotaged_photos"])."
Icon style: ".Geotag::displayOptions_Select("geotag_options[geotaged_photos][ICON]", array("DEFAULT" => "Standard icon", "CAMERA" => "Camera icon", "THUMBNAIL" => "Thumbnail of the photos"), $geotag_options["geotaged_photos"]["ICON"])."</td>
</tr>
</table>
<h3 style='margin-top: 3em;'>Miscellaneous</h3>
<table class='form-table'>
<tr valign='top'>
<th scope='row'><em>WP Geo</em> Compatibility</th>
<td><strong>Database</strong><br />".Geotag::displayOptions_Radio("geotag_options[misc_wpgeocompatibility][DB]", array("NULL" => "No compatibility - <em>WP Geo</em> coordinates will be ignored", "READ" => "Read compatibility - read the <em>WP Geo</em> coordinates only if no <em>Geotag</em> coordinates were saved", "WRITE" => "Read and write compatibility - read the <em>WP Geo</em> coordinates and save new coordinates in the <em>WP Geo</em> database field"), $geotag_options["misc_wpgeocompatibility"]["DB"])."<br />
<strong>Shortcode</strong><br />".Geotag::displayOptions_Checkbox("geotag_options[misc_wpgeocompatibility]", array("SHORTCODE" => "Process the <em>WP Geo</em> Shortcode <code>[wp_geo_map]</code> in posts"), $geotag_options["misc_wpgeocompatibility"])."</td>
</tr>
<tr valign='top'>
<th scope='row'>Quick Guide</th>
<td>".Geotag::displayOptions_Checkbox("geotag_options[misc]", array("QUICKGUIDE" => "Add a short documentation to the post writing page."), $geotag_options["misc"])."</td>
</tr>
</table>
<p class='submit'>
<input type='submit' name='submit' value='Save Changes' class='button-primary' />
<input type='hidden' name='action' value='update' />
<input type='hidden' name='page_options' value='geotag_options' />
</p>
</form>
</div>";
//echo "<pre>"; print_r($geotag_options); echo "</pre>";
}