Changeset 335

Show
Ignore:
Timestamp:
08/24/03 16:51:32 (5 years ago)
Author:
saxmatt
Message:

Cleaned up index formatting and moved geo code to its own file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index.php

    r332 r335  
    11<?php /* Don't remove these lines, they call the b2 function files ! */ 
    2 $blog=1; 
     2$blog = 1; 
    33require_once('blog.header.php'); 
    44require_once($abspath.'wp-links/links.php'); 
    55// not on by default: require_once($abspath.'wp-links/links.weblogs.com.php'); 
    6      
    76?> 
    87<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    1312     
    1413    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
    15     <meta name="generator" content="WordPress .7" /> <!-- leave this for stats --> 
     14    <meta name="generator" content="WordPress .72" /> <!-- leave this for stats --> 
    1615 
    1716    <?php if(get_settings('use_geo_positions')) { 
     
    2827    <?php get_archives('monthly', '', 'link'); ?> 
    2928    <?php // comments_popup_script(); // off by default ?> 
    30     <?php if(get_settings('use_geo_positions')) { 
    31         print_PopUpScript(); 
    32     } ?> 
     29 
    3330</head> 
    3431 
     
    4239 
    4340 <h3 class="storytitle" id="post-<?php the_ID(); ?>"> 
    44   <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() ?>  
    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> 
     41  <a href="<?php permalink_link() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a> 
     42  <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() ?></span> 
    5043 </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 } } ?> 
    5444 
    5545<div class="storycontent"> 
     
    6252</div> 
    6353 
     54<!-- 
    6455<?php trackback_rdf(); ?> 
     56 
     57--> 
    6558 
    6659<?php include($abspath . 'b2comments.php'); ?> 
     
    9689 <li>Archives: 
    9790    <ul> 
    98      <?php get_archives(); ?> 
     91     <?php get_archives('monthly'); ?> 
    9992    </ul> 
    10093 </li>