Axing of geo stuff, major cleanups on permalink options, style tweaks.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-09-15 15:09:39 +00:00
parent e7e5b63493
commit e8f22c65a2
12 changed files with 108 additions and 498 deletions

View File

@@ -114,33 +114,12 @@ window.onload = focusit;
edCanvas = document.getElementById('content');
//-->
</script>
<?php
if ($action != 'editcomment') {
if (get_settings('use_geo_positions')) {
if (empty($edited_lat)) {
if (get_settings('use_default_geourl')) {
$edited_lat = get_settings('default_geourl_lat');
$edited_lon = get_settings('default_geourl_lon');
}
}
?>
<br />
<fieldset id="post_lat_lon">
<label for="post_latf"><?php _e('Latitude:') ?></label><input size="8" type="text" value="<?php echo $edited_lat; ?>" name="post_latf" id="post_latf" />&nbsp;
<label for="post_lonf"><?php _e('Longitude:') ?></label><input size="8" type="text" value="<?php echo $edited_lon; ?>" name="post_lonf" id="post_lonf" />&nbsp; <a href="http://www.geourl.org/resources.html" rel="external"><?php _e('click for Geo Info') ?></a>
</fieldset>
<br />
<?php
}
}
?>
<?php echo $form_pingback ?>
<?php echo $form_prevstatus ?>
<?php echo $form_trackback; ?>
<p class="submit"><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="6" />
<?php
if ('publish' != $post_status || 0 == $post_ID) {