More semantic markup.

git-svn-id: http://svn.automattic.com/wordpress/trunk@71 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-05-23 22:25:05 +00:00
parent 2f1cf106ba
commit 3b9fb96df5
2 changed files with 32 additions and 43 deletions

View File

@ -9,10 +9,9 @@
<!-- you can START editing here --> <!-- you can START editing here -->
<a name="pingbacks"></a> <h2>Pingbacks</h2>
<div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div>
<ol id="pingbacks">
<?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); ?> <?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); ?>
@ -20,13 +19,11 @@
<!-- pingback --> <!-- pingback -->
<p> <li>
<?php comment_text() ?> <?php comment_text() ?>
<br />
<strong><span style="color: #0099CC">&middot;</span></strong> <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>
<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> </li>
</p>
<p>&nbsp;</p>
<!-- /pingback --> <!-- /pingback -->
@ -34,13 +31,13 @@
if (!$wxcvbn_pb) { ?> if (!$wxcvbn_pb) { ?>
<!-- this is displayed if there are no pingbacks so far --> <!-- this is displayed if there are no pingbacks so far -->
<p>No Pingback on this post so far.</p> <li>No pingbacks on this post so far.</li>
<?php /* if you delete this the sky will fall on your head */ } ?> <?php /* if you delete this the sky will fall on your head */ } ?>
</ol>
<p>&nbsp;</p> <h3><a href="javascript:history.go(-1)">Go back.</a></h3>
<div><b><span style="color: #0099CC">::</span> <a href="javascript:history.go(-1)">return to the blog</a></b></div>
<?php /* if you delete this the sky will fall on your head */ } ?> <?php /* if you delete this the sky will fall on your head */ } ?>

View File

@ -4,46 +4,39 @@ $blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result))
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title> <title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="reply-to" content="you@yourdomain.com" />
<meta http-equiv="imagetoolbar" content="no" /> <style type="text/css" media="screen">
<meta content="TRUE" name="MSSmartTagsPreventParsing" /> @import url( layout2b.css );
body {
<style type="text/css" media="screen"> margin: 3px;
@import url( layout2b.css ); }
</style> </style>
<link rel="stylesheet" type="text/css" media="print" href="b2-include/print.css" />
<link rel="alternate" type="text/xml" title="XML" href="<?php echo $siteurl ?>/b2rss.php" />
</head> </head>
<body> <body>
<div id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></div> <h1 id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
<div id="contentcomments"> <div id="contentcomments">
<div class="storyContent"> <div class="storyContent">
<?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) { ?> <?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) { ?>
<a name="pingbacks"></a> <h2>Pingbacks</h2>
<p>&nbsp;</p>
<div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div>
<p>&nbsp;</p>
<ol id="pingbacks">
<?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++; ?> <?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++; ?>
<a name="pb<?php comment_ID() ?>"></a> <li id="pb<?php comment_ID() ?>">
<!-- pingback --> <!-- pingback -->
<p>
<?php comment_text() ?> <?php comment_text() ?>
<br />
<strong><span style="color: #0099CC">&middot;</span></strong> <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>
<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> </div>
</p>
<p>&nbsp;</p>
<!-- /pingback --> <!-- /pingback -->
@ -51,12 +44,12 @@ $blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result))
if (!$wxcvbn_pb) { ?> if (!$wxcvbn_pb) { ?>
<!-- this is displayed if there are no pingbacks so far --> <!-- this is displayed if there are no pingbacks so far -->
<p>No Pingback on this post so far.</p> <li>No Pingbacks on this post so far.</li>
<?php /* if you delete this the sky will fall on your head */ } ?> <?php /* if you delete this the sky will fall on your head */ } ?>
</ol>
<p>&nbsp;</p> <h3> <a href="javascript:window.close()">Close this window</a>.</h3>
<div><b><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></b></div>
<?php /* if you delete this the sky will fall on your head */ } ?> <?php /* if you delete this the sky will fall on your head */ } ?>
@ -66,9 +59,8 @@ $blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result))
</div> </div>
<p class="centerP">
<cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite> <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p>
</p>
</body> </body>