Make WordPress Core

Changeset 332


Ignore:
Timestamp:
08/23/2003 06:03:38 AM (22 years ago)
Author:
saxmatt
Message:

Final (hopefully) XHTML fixes to geo code.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2template.functions.php

    r330 r332  
    360360                         'Maptech near here')
    361361                  );
    362     echo '<form name="form">
     362    echo '<form action=""><div>
    363363<select name="site" size="1" onchange="formHandler(this.form);" >'."\n";
    364     echo '<option value=".">Sites referencing '.get_Lat().' x '.get_Lon()."\n";
     364    echo '<option value=".">Sites referencing '.get_Lat().' x '.get_Lon()."</option>\n";
    365365    foreach($sites as $site) {
    366366        echo "\t".'<option value="'.$site[0].'">'.$site[1]."</option>\n";
    367367    }
    368     echo '</select>
     368    echo '</select></div>
    369369</form>'."\n";
    370370}
  • trunk/index.php

    r319 r332  
    1919    } ?>
    2020    <style type="text/css" media="screen">
    21         @import url( <?php echo $siteurl; ?>/layout2b.css );
     21        @import url( <?php echo $siteurl; ?>/wp-layout.css );
    2222    </style>
    2323   
     
    4343 <h3 class="storytitle" id="post-<?php the_ID(); ?>">
    4444  <a href="<?php permalink_link() ?>" rel="bookmark"><?php the_title(); ?></a>
    45   <span class="meta"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> &#8212; <?php the_author() ?> @ <?php the_time() ?><br />
    46 <?php
    47     if(get_settings('use_geo_positions')) {
    48         if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) {  ?>
    49     from: &nbsp;<?php print_Lat(); echo " x "; print_Lon(); echo "&nbsp;&nbsp;"; print_UrlPopNav(); ?>
    50 <?php
    51         }
    52     } ?>
    53   </span>
     45  <span class="meta"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> &#8212; <?php the_author() ?> @ <?php the_time() ?>
     46  <?php if(get_settings('use_geo_positions')) { if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) {  ?>
     47        &#8212; Posted from: <?php print_Lat(); ?> &#215; <?php print_Lon(); ?>
     48<?php  } } ?>
     49        </span>
    5450 </h3>
     51<?php if(get_settings('use_geo_positions')) { if((get_Lon() != null) && (get_Lon() < 360) &&(get_Lon() > -360)) {  ?>
     52         <?php print_UrlPopNav(); ?>
     53<?php } } ?>
    5554
    5655<div class="storycontent">
Note: See TracChangeset for help on using the changeset viewer.