Removed unused files
git-svn-id: http://svn.automattic.com/wordpress/trunk@252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c60046be65
commit
d9ecd0832a
|
@ -1,47 +0,0 @@
|
|||
<?php if (!empty($pb)) { ?>
|
||||
|
||||
<?php // Do not delete these lines
|
||||
if (basename($HTTP_SERVER_VARS["SCRIPT_FILENAME"]) == "b2pingbacks.php")
|
||||
die ("please, do not load this page directly");
|
||||
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content LIKE '%<pingback />%' ORDER BY comment_date";
|
||||
$resultc = mysql_query($queryc); if ($resultc) {
|
||||
?>
|
||||
|
||||
<!-- you can START editing here -->
|
||||
|
||||
<h2>Pingbacks</h2>
|
||||
|
||||
<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); ?>
|
||||
|
||||
|
||||
<a name="pb<?php comment_ID() ?>"></a>
|
||||
|
||||
|
||||
<!-- pingback -->
|
||||
<li>
|
||||
<?php comment_text() ?>
|
||||
|
||||
<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>
|
||||
</li>
|
||||
<!-- /pingback -->
|
||||
|
||||
|
||||
<?php /* end of the loop, don't delete */ }
|
||||
if (!$wxcvbn_pb) { ?>
|
||||
|
||||
<!-- this is displayed if there are no pingbacks so far -->
|
||||
<li>No pingbacks on this post so far.</li>
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
</ol>
|
||||
|
||||
|
||||
<h3><a href="javascript:history.go(-1)">Go back.</a></h3>
|
||||
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
|
@ -1,67 +0,0 @@
|
|||
<?php /* Don't remove this line, it calls the b2 function files ! */
|
||||
$blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result)) { start_b2();
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@import url( layout2b.css );
|
||||
body {
|
||||
margin: 3px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
|
||||
<div id="contentcomments">
|
||||
|
||||
<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) { ?>
|
||||
|
||||
<h2>Pingbacks</h2>
|
||||
|
||||
<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++; ?>
|
||||
|
||||
<li id="pb<?php comment_ID() ?>">
|
||||
|
||||
<!-- pingback -->
|
||||
<?php comment_text() ?>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<!-- /pingback -->
|
||||
|
||||
|
||||
<?php /* end of the loop, don't delete */ }
|
||||
if (!$wxcvbn_pb) { ?>
|
||||
|
||||
<!-- this is displayed if there are no pingbacks so far -->
|
||||
<li>No Pingbacks on this post so far.</li>
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
</ol>
|
||||
|
||||
<h3> <a href="javascript:window.close()">Close this window</a>.</h3>
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php /* this is just the end of the motor - don't touch that line either :) */ } ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,70 +0,0 @@
|
|||
<?php /* Don't remove this line, it calls the b2 function files ! */
|
||||
$blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result)) { start_b2();
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><?php echo $blogname ?> - Trackbacks on "<?php the_title() ?>"</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@import url( layout2b.css );
|
||||
body { margin: 3px; }
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" media="print" href="<?php echo $siteurl; ?>/print.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
|
||||
|
||||
<div id="contentcomments">
|
||||
|
||||
<div class="storyContent">
|
||||
|
||||
<p>The URL to TrackBack this entry is:</p>
|
||||
<p><em><?php trackback_url() ?></em></p>
|
||||
|
||||
|
||||
<?php /* do not delete this line */ $queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content LIKE '%<trackback />%' ORDER BY comment_date"; $resultc = mysql_query($queryc); if ($resultc) { ?>
|
||||
|
||||
<h2>Trackbacks</h2>
|
||||
<ol id="trackbacks">
|
||||
<?php /* this line is b2's motor, do not delete it */ $wxcvbn_tb=0; while($rowc = mysql_fetch_object($resultc)) { $commentdata = get_commentdata($rowc->comment_ID); $wxcvbn_tb++; ?>
|
||||
|
||||
<a name="tb<?php comment_ID() ?>"></a>
|
||||
|
||||
<!-- trackback -->
|
||||
<li id="trackback-<?php comment_ID() ?>">
|
||||
<?php comment_text() ?>
|
||||
|
||||
<p><cite>Tracked on <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <?php comment_time() ?></cite></p>
|
||||
</li>
|
||||
<!-- /trackback -->
|
||||
|
||||
|
||||
<?php /* end of the loop, don't delete */ }
|
||||
if (!$wxcvbn_tb) { ?>
|
||||
|
||||
<!-- this is displayed if there are no trackbacks so far -->
|
||||
<li>No trackbacks yet.</li>
|
||||
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
</ol>
|
||||
|
||||
<div><strong><a href="javascript:window.close()">close this window</a></strong></div>
|
||||
|
||||
<?php /* if you delete this the sky will fall on your head */ } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php /* this is just the end of the motor - don't touch that line either :) */ } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -597,10 +597,6 @@
|
|||
<li>height (default is 400)</li>
|
||||
<li>file name, in case you want to use a different template for comments
|
||||
(default is b2commentspopup.php)</li>
|
||||
<li>file name, in case you want to use a different template for TrackBacks
|
||||
(default is b2trackbackpopup.php)</li>
|
||||
<li>file name, in case you want to use a different template for Pingbacks
|
||||
(default is b2pingbackspopup.php)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<br />
|
||||
|
|
Loading…
Reference in New Issue