Make WordPress Core


Ignore:
Timestamp:
12/18/2003 09:36:13 AM (21 years ago)
Author:
saxmatt
Message:

Renaming Reloaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions.php

    r624 r628  
    14651465
    14661466function comments_popup_script($width=400, $height=400, $file='wp-comments-popup.php') {
    1467     global $b2commentspopupfile, $b2trackbackpopupfile, $b2pingbackpopupfile, $b2commentsjavascript;
    1468     $b2commentspopupfile = $file;
    1469     $b2commentsjavascript = 1;
     1467    global $wpcommentspopupfile, $wptrackbackpopupfile, $wppingbackpopupfile, $wpcommentsjavascript;
     1468    $wpcommentspopupfile = $file;
     1469    $wpcommentsjavascript = 1;
    14701470    $javascript = "<script type='text/javascript'>\nfunction wpopen (macagna) {\n    window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n";
    14711471    echo $javascript;
     
    14731473
    14741474function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') {
    1475     global $id, $b2commentspopupfile, $b2commentsjavascript, $post, $wpdb, $tablecomments, $HTTP_COOKIE_VARS, $cookiehash;
     1475    global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb, $tablecomments, $HTTP_COOKIE_VARS, $cookiehash;
    14761476    global $querystring_start, $querystring_equal, $querystring_separator, $siteurl;
    14771477    $number = $wpdb->get_var("SELECT COUNT(*) FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1'");
     
    14871487        }
    14881488        echo '<a href="';
    1489         if ($b2commentsjavascript) {
    1490             echo $b2commentspopupfile.$querystring_start.'p'.$querystring_equal.$id.$querystring_separator.'c'.$querystring_equal.'1';
     1489        if ($wpcommentsjavascript) {
     1490            echo $wpcommentspopupfile.$querystring_start.'p'.$querystring_equal.$id.$querystring_separator.'c'.$querystring_equal.'1';
    14911491            //echo get_permalink();
    14921492            echo '" onclick="wpopen(this.href); return false"';
Note: See TracChangeset for help on using the changeset viewer.