From 26d2daf9495cb0441699590ddc54773e574e8504 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 11 Dec 2003 00:54:41 +0000 Subject: [PATCH] The great renaming. git-svn-id: http://svn.automattic.com/wordpress/trunk@602 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2commentspopup.php | 109 -------------------------------------------- b2trackback.php | 94 -------------------------------------- 2 files changed, 203 deletions(-) delete mode 100644 b2commentspopup.php delete mode 100644 b2trackback.php diff --git a/b2commentspopup.php b/b2commentspopup.php deleted file mode 100644 index a4bcddb184..0000000000 --- a/b2commentspopup.php +++ /dev/null @@ -1,109 +0,0 @@ - - - - <?php echo $blogname ?> - Comments on "<?php the_title() ?>" - - - - - - - -

- -

Comments

- -

RSS feed for comments on this post.

- -ping_status) { ?> -

The URI to TrackBack this entry is:

- - -get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date"); -$commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id"); -if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $commentstatus->post_password) { // and it doesn't match the cookie - echo(get_the_password_form()); -} else { ?> - - -
    - -
  1. - -

    by @

    -
  2. - - -
- -

No comments yet.

- - -comment_status) { ?> -

Leave a Comment

-

Line and paragraph breaks automatic, website trumps email, HTML allowed:

- -
-

- - - - " /> -

- -

- - -

- -

- - -

- -

- -
- -

- -

- -

-
- -

Sorry, comments are closed at this time.

- - -
Close this window.
- - - - - -

Powered by Wordpress

- - - - diff --git a/b2trackback.php b/b2trackback.php deleted file mode 100644 index 18b8829198..0000000000 --- a/b2trackback.php +++ /dev/null @@ -1,94 +0,0 @@ -get_var("SELECT ping_status FROM $tableposts WHERE ID = $tb_id"); - - if ('closed' == $pingstatus) - trackback_response(1, 'Sorry, trackbacks are closed for this item.'); - - $tb_url = addslashes($tb_url); - $title = strip_tags($title); - $title = (strlen($title) > 255) ? substr($title, 0, 252).'...' : $title; - $excerpt = strip_tags($excerpt); - $excerpt = (strlen($excerpt) > 255) ? substr($excerpt, 0, 252).'...' : $excerpt; - $blog_name = htmlspecialchars($blog_name); - $blog_name = (strlen($blog_name) > 255) ? substr($blog_name, 0, 252).'...' : $blog_name; - - $comment = ''; - $comment .= "$title\n$excerpt"; - - $author = addslashes($blog_name); - $email = ''; - $original_comment = $comment; - $comment_post_ID = $tb_id; - - $user_ip = $HTTP_SERVER_VARS['REMOTE_ADDR']; - $user_domain = gethostbyaddr($user_ip); - $time_difference = get_settings('time_difference'); - $now = current_time('mysql'); - - $comment = convert_chars($comment); - $comment = format_to_post($comment); - - $comment_author = $author; - $comment_author_email = $email; - $comment_author_url = $tb_url; - - $author = addslashes($author); - - $comment_moderation = get_settings('comment_moderation'); - $moderation_notify = get_settings('moderation_notify'); - - if ('manual' == $comment_moderation) { - $approved = 0; - } else if ('auto' == $comment_moderation) { - $approved = 0; - } else { // none - $approved = 1; - } - - $result = $wpdb->query("INSERT INTO $tablecomments - (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_content, comment_approved) - VALUES - ('$comment_post_ID', '$author', '$email', '$tb_url', '$user_ip', '$now', '$comment', '$approved') - "); - - if (!$result) { - die ("There is an error with the database, it can't store your comment...
Please contact the webmaster."); - } else { - $comment_ID = $wpdb->get_var('SELECT last_insert_id()'); - if ($comments_notify) - wp_notify_postauthor($comment_ID, 'trackback'); - trackback_response(0); - } -} -?> \ No newline at end of file