Changeset 617

Show
Ignore:
Timestamp:
12/16/03 01:58:39 (5 years ago)
Author:
mikelittle
Message:

Some more b2->wp renaming

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index.php

    r601 r617  
    9494    <ul> 
    9595        <li><a href="<?php echo $siteurl; ?>/wp-login.php">login</a></li> 
    96         <li><a href="<?php echo $siteurl; ?>/b2register.php">register</a></li> 
     96        <li><a href="<?php echo $siteurl; ?>/wp-register.php">register</a></li> 
    9797    </ul> 
    9898 </li> 
  • trunk/wp-admin/admin-header.php

    r601 r617  
    7777 
    7878    function launchupload() { 
    79         window.open ("upload.php", "b2upload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
     79        window.open ("upload.php", "wpupload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
    8080    } 
    8181 
  • trunk/wp-admin/bookmarklet.php

    r601 r617  
    3939<!-- 
    4040function launchupload() { 
    41     window.open ("upload.php", "b2upload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
     41    window.open ("upload.php", "wpupload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
    4242} 
    4343 
  • trunk/wp-admin/edit-showposts.php

    r601 r617  
    285285                                if ( ('none' != get_settings("comment_moderation")) && ($user_level >= 3) ) { 
    286286                                    if ('approved' == wp_get_comment_status($comment->comment_ID)) { 
    287                                         echo " - <a href=\"b2edit.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Unapprove</a> "; 
     287                                        echo " - <a href=\"edit.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Unapprove</a> "; 
    288288                                    } else { 
    289                                         echo " - <a href=\"b2edit.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Approve</a> "; 
     289                                        echo " - <a href=\"edit.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Approve</a> "; 
    290290                                    } 
    291291                                } 
  • trunk/wp-admin/import-b2.php

    r570 r617  
    6060</ul> 
    6161<p><code></code>Have you looked at the <a href="../readme.html">readme</a>? If  
    62   you&#8217;re all ready, <a href="b2-2-wp.php?step=1">let&#8217;s go</a>!</p> 
     62  you&#8217;re all ready, <a href="import-b2.php.php?step=1">let&#8217;s go</a>!</p> 
    6363<?php 
    6464    break; 
     
    189189?> 
    190190<p>Did you defeat the boss monster at the end? Good, then you&#8217;re ready for  
    191   <a href="b2-2-wp.php?step=2">Step 2</a>.</p> 
     191  <a href="import-b2.php.php?step=2">Step 2</a>.</p> 
    192192<?php 
    193193    break; 
  • trunk/wp-admin/import-blogger.php

    r601 r617  
    3030<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 
    3131    <title>Blogger to WordPress - Converting...</title> 
    32     <link rel="stylesheet" href="b2.css" type="text/css"> 
     32    <link rel="stylesheet" href="wp-admin.css" type="text/css"> 
    3333</head> 
    3434<body> 
     
    180180<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 
    181181    <title>Blogger to WordPress Import Utility</title> 
    182     <link rel="stylesheet" href="b2.css" type="text/css"> 
     182    <link rel="stylesheet" href="wp-admin.css" type="text/css"> 
    183183</head> 
    184184 
  • trunk/wp-admin/import-greymatter.php

    r601 r617  
    6464</head> 
    6565<body style="margin: 20px;"> 
    66 <p><font face="times new roman" style="font-size: 39px;">gm 2 <img src="wp-images/wpminilogo.png" width="50" height="50" border="0" alt="b2" align="top" /></font></p> 
     66<p><font face="times new roman" style="font-size: 39px;">gm 2 <img src="wp-images/wpminilogo.png" width="50" height="50" border="0" alt="WP" align="top" /></font></p> 
    6767<p>The importer is running...</p> 
    6868<ul> 
     
    275275</head> 
    276276<body style="margin: 20px;"> 
    277 <p><font face="times new roman" style="font-size: 39px;">gm 2 <img src="wp-images/wpminilogo.png" width="50" height="50" border="0" alt="b2" align="top" /></font></p> 
     277<p><font face="times new roman" style="font-size: 39px;">gm 2 <img src="wp-images/wpminilogo.png" width="50" height="50" border="0" alt="WP" align="top" /></font></p> 
    278278<p>This is a basic GreyMatter to b2 import script.</p> 
    279279<p>What it does:</p> 
  • trunk/wp-admin/profile.php

    r601 r617  
    209209    <p>To have a one-click bookmarklet, just copy and paste this<br />into a new text file:</p> 
    210210    <?php 
    211     $regedit = "REGEDIT4\r\n[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &WP : ".$blogname."]\r\n@=\"javascript:doc=external.menuArguments.document;Q=doc.selection.createRange().text;void(btw=window.open('".$siteurl."/wp-admin/bookmarklet.php?text='+escape(Q)+'".$bookmarklet_tbpb."&popupurl='+escape(doc.location.href)+'&popuptitle='+escape(doc.title),'b2bookmarklet','scrollbars=no,width=480,height=".$bookmarklet_height.",left=100,top=150,status=yes'));btw.focus();\"\r\n\"contexts\"=hex:31\""; 
     211    $regedit = "REGEDIT4\r\n[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &WP : ".$blogname."]\r\n@=\"javascript:doc=external.menuArguments.document;Q=doc.selection.createRange().text;void(btw=window.open('".$siteurl."/wp-admin/bookmarklet.php?text='+escape(Q)+'".$bookmarklet_tbpb."&popupurl='+escape(doc.location.href)+'&popuptitle='+escape(doc.title),'bookmarklet','scrollbars=no,width=480,height=".$bookmarklet_height.",left=100,top=150,status=yes'));btw.focus();\"\r\n\"contexts\"=hex:31\""; 
    212212    ?> 
    213213    <pre style="margin: 20px; background-color: #cccccc; border: 1px dashed #333333; padding: 5px; font-size: 12px;"><?php echo $regedit; ?></pre> 
     
    330330} else if ($is_winIE) { 
    331331?> 
    332     <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'b2bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">WordPress  
     332    <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">WordPress  
    333333    - <?php echo $blogname ?></a>  
    334334    <script type="text/javascript" language="JavaScript"> 
     
    346346} else if ($is_opera) { 
    347347?> 
    348     <a href="javascript:void(window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','b2bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">WordPress  
     348    <a href="javascript:void(window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">WordPress  
    349349    - <?php echo $blogname ?></a>  
    350350    <?php 
    351351} else if ($is_macIE) { 
    352352?> 
    353     <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','b2bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">WordPress  
     353    <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo $siteurl ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">WordPress  
    354354    - <?php echo $blogname ?></a>  
    355355    <?php 
  • trunk/wp-admin/sidebar.php

    r601 r617  
    4747<head> 
    4848<title>WordPress > sidebar</title> 
    49 <link rel="stylesheet" href="b2.css" type="text/css"> 
     49<link rel="stylesheet" href="wp-admin.css" type="text/css"> 
    5050 
    5151<style type="text/css"> 
  • trunk/wp-includes/functions.php

    r614 r617  
    821821    // original function by Dries Buytaert for Drupal 
    822822    global $use_weblogsping, $blogname,$siteurl,$blogfilename; 
    823     if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="b2.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_weblogsping)) { 
     823    if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="wp.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_weblogsping)) { 
    824824        $client = new xmlrpc_client("/RPC2", "rpc.weblogs.com", 80); 
    825825        $message = new xmlrpcmsg("weblogUpdates.ping", array(new xmlrpcval($blogname), new xmlrpcval($siteurl."/".$blogfilename))); 
     
    853853function pingCafelog($cafelogID,$title='',$p='') { 
    854854    global $use_cafelogping, $blogname, $siteurl, $blogfilename; 
    855     if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="b2.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_cafelogping) && ($cafelogID != '')) { 
     855    if ((!(($blogname=="my weblog") && ($siteurl=="http://example.com") && ($blogfilename=="wp.php"))) && (!preg_match("/localhost\//",$siteurl)) && ($use_cafelogping) && ($cafelogID != '')) { 
    856856        $client = new xmlrpc_client("/xmlrpc.php", "cafelog.tidakada.com", 80); 
    857857        $message = new xmlrpcmsg("b2.ping", array(new xmlrpcval($cafelogID), new xmlrpcval($title), new xmlrpcval($p))); 
     
    869869function pingBlogs($blog_ID="1") { 
    870870    global $use_blodotgsping, $blodotgsping_url, $use_rss, $blogname, $siteurl, $blogfilename; 
    871     if ((!(($blogname=='my weblog') && ($siteurl=='http://example.com') && ($blogfilename=='b2.php'))) && (!preg_match('/localhost\//',$siteurl)) && ($use_blodotgsping)) { 
     871    if ((!(($blogname=='my weblog') && ($siteurl=='http://example.com') && ($blogfilename=='wp.php'))) && (!preg_match('/localhost\//',$siteurl)) && ($use_blodotgsping)) { 
    872872        $url = ($blodotgsping_url == 'http://example.com') ? $siteurl.'/'.$blogfilename : $blodotgsping_url; 
    873873        $client = new xmlrpc_client('/', 'ping.blo.gs', 80); 
  • trunk/wp-includes/template-functions.php

    r610 r617  
    14631463    $b2commentspopupfile = $file; 
    14641464    $b2commentsjavascript = 1; 
    1465     $javascript = "<script type='text/javascript'>\nfunction b2open (macagna) {\n    window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n"; 
     1465    $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"; 
    14661466    echo $javascript; 
    14671467} 
     
    14851485            echo $b2commentspopupfile.$querystring_start.'p'.$querystring_equal.$id.$querystring_separator.'c'.$querystring_equal.'1'; 
    14861486            //echo get_permalink(); 
    1487             echo '" onclick="b2open(this.href); return false"'; 
     1487            echo '" onclick="wpopen(this.href); return false"'; 
    14881488        } else { 
    14891489            // if comments_popup_script() is not in the template, display simple comment link