Make WordPress Core

Changeset 71


Ignore:
Timestamp:
05/23/2003 10:25:05 PM (22 years ago)
Author:
saxmatt
Message:

More semantic markup.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2pingbacks.php

    r3 r71  
    1010<!-- you can START editing here -->
    1111
    12 <a name="pingbacks"></a>
    13 <div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div>
     12<h2>Pingbacks</h2>
    1413
    15 
     14<ol id="pingbacks">
    1615    <?php /* this line is b2's motor, do not delete it */ $wxcvbn_pb=0; while($rowc = mysql_fetch_object($resultc)) { $wxcvbn_pb++; $commentdata = get_commentdata($rowc->comment_ID); ?>
    1716   
     
    2120
    2221<!-- pingback -->
    23 <p>
     22<li>
    2423<?php comment_text() ?>
    25 <br />
    26 <strong><span style="color: #0099CC">&middot;</span></strong>
    27 <em>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <?php comment_time() ?></em>
    28 </p>
    29 <p>&nbsp;</p>
     24
     25<div><cite>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <a href="#pb<?php comment_ID(); ?>"></a><?php comment_time() ?></a></cite></div>
     26</li>
    3027<!-- /pingback -->
    3128
     
    3532
    3633<!-- this is displayed if there are no pingbacks so far -->
    37 <p>No Pingback on this post so far.</p>
     34<li>No pingbacks on this post so far.</li>
    3835
    3936    <?php /* if you delete this the sky will fall on your head */ } ?>
     37</ol>
    4038
    4139
    42 <p>&nbsp;</p>
    43 <div><b><span style="color: #0099CC">::</span> <a href="javascript:history.go(-1)">return to the blog</a></b></div>
     40<h3><a href="javascript:history.go(-1)">Go back.</a></h3>
    4441
    4542
  • trunk/b2pingbackspopup.php

    r68 r71  
    55<html xmlns="http://www.w3.org/1999/xhtml">
    66<head>
    7 <title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title>
    8 
    9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    10 <meta http-equiv="reply-to" content="you@yourdomain.com" />
    11 <meta http-equiv="imagetoolbar" content="no" />
    12 <meta content="TRUE" name="MSSmartTagsPreventParsing" />
    13 
    14 <style type="text/css" media="screen">
    15 @import url( layout2b.css );
    16 </style>
    17 <link rel="stylesheet" type="text/css" media="print" href="b2-include/print.css" />
    18 <link rel="alternate" type="text/xml" title="XML" href="<?php echo $siteurl ?>/b2rss.php" />
     7    <title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title>
     8   
     9    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     10   
     11    <style type="text/css" media="screen">
     12        @import url( layout2b.css );
     13        body {
     14            margin: 3px;
     15        }
     16    </style>
    1917
    2018</head>
    2119<body>
    22 <div id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></div>
    23 
     20<h1 id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
    2421<div id="contentcomments">
    2522
     
    2825    <?php /* do not delete this line */ $queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content LIKE '%<pingback />%' ORDER BY comment_date"; $resultc = mysql_query($queryc); if ($resultc) { ?>
    2926
    30 <a name="pingbacks"></a>
    31 <p>&nbsp;</p>
    32 <div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div>
    33 <p>&nbsp;</p>
     27<h2>Pingbacks</h2>
    3428
     29<ol id="pingbacks">
    3530    <?php /* this line is b2's motor, do not delete it */ $wxcvbn_pb=0; while($rowc = mysql_fetch_object($resultc)) { $commentdata = get_commentdata($rowc->comment_ID); $wxcvbn_pb++; ?>
    3631   
    37 <a name="pb<?php comment_ID() ?>"></a>
     32<li id="pb<?php comment_ID() ?>">
    3833   
    3934<!-- pingback -->
    40 <p>
    4135<?php comment_text() ?>
    42 <br />
    43 <strong><span style="color: #0099CC">&middot;</span></strong>
    44 <em>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <?php comment_time() ?></em>
    45 </p>
    46 <p>&nbsp;</p>
     36
     37<div><cite>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <a href="pb<?php comment_ID() ?>"><?php comment_time() ?></a></cite>
     38</div>
     39
    4740<!-- /pingback -->
    4841
     
    5245
    5346<!-- this is displayed if there are no pingbacks so far -->
    54 <p>No Pingback on this post so far.</p>
     47<li>No Pingbacks on this post so far.</li>
    5548
    5649    <?php /* if you delete this the sky will fall on your head */ } ?>
     50</ol>
    5751
    58 <p>&nbsp;</p>
    59 <div><b><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></b></div>
     52<h3> <a href="javascript:window.close()">Close this window</a>.</h3>
    6053
    6154    <?php /* if you delete this the sky will fall on your head */ } ?>
     
    6760</div>
    6861
    69 <p class="centerP">
    70 <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite>
    71 </p>
     62
     63<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p>
    7264
    7365
Note: See TracChangeset for help on using the changeset viewer.