Make WordPress Core

Changeset 5


Ignore:
Timestamp:
04/03/2003 08:16:37 AM (21 years ago)
Author:
saxmatt
Message:

Major updates to default structure, Some minor class/id issues still need resolving. Aiming for XHTML 1.1 Strict compliance but DOCTYPE will remain XHTML 1.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r4 r5  
    55
    66<head>
    7 <title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
     7    <title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
     8   
     9    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     10    <meta http-equiv="imagetoolbar" content="no" />
     11   
     12    <style type="text/css" media="screen">
     13        @import url( layout2b.css );
     14    </style>
     15   
     16    <link rel="stylesheet" type="text/css" media="print" href="print.css" />
     17    <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
     18    <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
     19    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     20    <?php comments_popup_script() ?>
     21</head>
    822
    9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    10 <meta http-equiv="imagetoolbar" content="no" />
    11 
    12 <style type="text/css" media="screen">
    13     @import url( layout2b.css );
    14 </style>
    15 
    16 <link rel="stylesheet" type="text/css" media="print" href="print.css" />
    17 <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
    18 <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
    19 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    20 <?php comments_popup_script() ?>
    21 
    22 </head>
    2323<body>
    2424<h1 id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    2525
     26
    2627<div id="content">
    27 
    2828
    2929<!-- // b2 loop start -->
     
    3131
    3232
    33 <?php the_date("","<h2>","</h2>"); ?>
    34 <?php permalink_anchor(); ?>
    35 <h3 class="storyTitle"><?php the_title(); ?>
    36    <a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a>&nbsp;-&nbsp;
    37 <span class="storyAuthor"><?php the_author() ?> - <?php the_author_email() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
     33<?php the_date('','<h2>','</h2>'); ?>
     34
     35<h3 class="storyTitle"><?php the_title(); ?> <span class="storyCategory"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</span></a> - <span class="storyAuthor"><?php the_author() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
    3836</h3>
    3937
     
    4139<?php the_content(); ?>
    4240
    43 <div class="rightFlush">
    44 <?php link_pages("<br />Pages: ","<br />","number") ?>
    45 <?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>
    46 <?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?>
    47 <?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>
     41<div class="feedback">
     42<?php link_pages('<br />Pages: ', '<br />', 'number') ?>
     43<?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)') ?>
     44<?php trackback_popup_link('TrackBack (0)', 'TrackBack (1)', 'TrackBack (%)') ?>
     45<?php pingback_popup_link('PingBack (0)', 'PingBack (1)', 'PingBack (%)') ?>
    4846
    4947<?php trackback_rdf() ?>
    5048
    5149<!-- this includes the comments and a form to add a new comment -->
    52 <?php include ("b2comments.php"); ?>
     50<?php include ('b2comments.php'); ?>
    5351
    5452<!-- this includes the trackbacks -->
    55 <?php include ("b2trackback.php"); ?>
     53<?php include ('b2trackback.php'); ?>
    5654
    5755<!-- this includes the pingbacks -->
    58 <?php include ("b2pingbacks.php"); ?>
     56<?php include ('b2pingbacks.php'); ?>
    5957
    6058</div>
     
    6967</div>
    7068
    71 <p class="centerP"><?php timer_stop(1); ?>
    72 [powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
     69<p class="centerP"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite>
    7370</p>
    7471
     
    7673<div id="menu">
    7774
    78 <h4>quick links:</h4>
     75<ul>
     76 <li>Quick Links:
     77    <ul>
     78        <li><a href="http://wordpress.org" title="The Wordpress Organization">Wordpress</a></li>
     79        <li><a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a></li>
     80        <li><a href="http://some other site" title="another link">another link</a></li>
     81        <li><a href="http://photomatt.net" title="another link">another link</a></li>
     82    </ul>
     83 </li>
     84 <li>Categories:
    7985
    80 <a href="http://wordpress.org" title="Wordpress Fork">Wordpress</a><br />
    81 <a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a><br />
    82 <a href="http://some other site" title="another link">another link</a><br />
    83 <a href="http://some other site" title="another link">another link</a><br />
    84 
    85 
    86 <h4>categories:</h4>
    87 
    88 <?php list_cats(0, 'All', 'name'); ?>
    89 
    90 <h4>search:</h4>
    91 
    92 <form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
    93 <div>
    94 <input type="text" name="s" size="15" /><br />
    95 <input type="submit" name="submit" value="search" />
    96 </div>
    97 </form>
    98 
    99 <h4>archives:</h4>
    100 
    101 <?php include("b2archives.php"); ?>
    102 <br />
    103 
    104 
    105 <h4>other:</h4>
    106 
    107 <a href="b2login.php">login</a><br />
    108 <a href="b2register.php">register</a><br />
    109 <br />
    110 
    111 <a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0"  /></a><br />
    112 <a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
     86<?php list_cats(0, 'All', 'name'); // fix this ?>
     87 </li>
     88 <li>Search:
     89    <form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
     90    <div>
     91        <input type="text" name="s" size="15" /><br />
     92        <input type="submit" name="submit" value="search" />
     93    </div>
     94    </form>
     95 </li>
     96 <li>Archives:
     97 <?php include("b2archives.php"); // fix this too ?>
     98 </li>
     99 <li>Other:
     100    <ul>
     101        <li><a href="b2login.php">login</a></li>
     102        <li><a href="b2register.php">register</a></li>
     103    </ul>
     104 </li>
     105 <li>Misc:
     106    <ul>
     107        <li><a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0"  /></a></li>
     108        <li><a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a></li>
     109    </ul>
     110 </li>
     111</ul>
    113112
    114113</div>
Note: See TracChangeset for help on using the changeset viewer.