mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Final (hopefully) XHTML fixes to geo code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cad9e2f88f
commit
05b0dca976
@ -359,13 +359,13 @@ function print_UrlPopNav() {
|
||||
array('http://mapserver.maptech.com/api/espn/index.cfm?lat='.get_Lat().'&lon='.get_Lon().'&scale=100000&zoom=50&type=1&icon=0&&scriptfile=http://mapserver.maptech.com/api/espn/index.cfm',
|
||||
'Maptech near here')
|
||||
);
|
||||
echo '<form name="form">
|
||||
echo '<form action=""><div>
|
||||
<select name="site" size="1" onchange="formHandler(this.form);" >'."\n";
|
||||
echo '<option value=".">Sites referencing '.get_Lat().' x '.get_Lon()."\n";
|
||||
echo '<option value=".">Sites referencing '.get_Lat().' x '.get_Lon()."</option>\n";
|
||||
foreach($sites as $site) {
|
||||
echo "\t".'<option value="'.$site[0].'">'.$site[1]."</option>\n";
|
||||
}
|
||||
echo '</select>
|
||||
echo '</select></div>
|
||||
</form>'."\n";
|
||||
}
|
||||
|
||||
|
19
index.php
19
index.php
@ -18,7 +18,7 @@ require_once($abspath.'wp-links/links.php');
|
||||
doGeoUrlHeader($posts);
|
||||
} ?>
|
||||
<style type="text/css" media="screen">
|
||||
@import url( <?php echo $siteurl; ?>/layout2b.css );
|
||||
@import url( <?php echo $siteurl; ?>/wp-layout.css );
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="print" href="<?php echo $siteurl; ?>/print.css" />
|
||||
@ -42,16 +42,15 @@ require_once($abspath.'wp-links/links.php');
|
||||
|
||||
<h3 class="storytitle" id="post-<?php the_ID(); ?>">
|
||||
<a href="<?php permalink_link() ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<span class="meta"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> — <?php the_author() ?> @ <?php the_time() ?><br />
|
||||
<?php
|
||||
if(get_settings('use_geo_positions')) {
|
||||
if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) { ?>
|
||||
from: <?php print_Lat(); echo " x "; print_Lon(); echo " "; print_UrlPopNav(); ?>
|
||||
<?php
|
||||
}
|
||||
} ?>
|
||||
</span>
|
||||
<span class="meta"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> — <?php the_author() ?> @ <?php the_time() ?>
|
||||
<?php if(get_settings('use_geo_positions')) { if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) { ?>
|
||||
— Posted from: <?php print_Lat(); ?> × <?php print_Lon(); ?>
|
||||
<?php } } ?>
|
||||
</span>
|
||||
</h3>
|
||||
<?php if(get_settings('use_geo_positions')) { if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) { ?>
|
||||
<?php print_UrlPopNav(); ?>
|
||||
<?php } } ?>
|
||||
|
||||
<div class="storycontent">
|
||||
<?php the_content(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user