Permalink
Browse files

The great renaming.

git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 089dda9 commit 43e4a8a930be8b3d0359e517e4a6ef12f0d0ba73 saxmatt committed Dec 11, 2003
Showing with 832 additions and 830 deletions.
  1. +1 −1 b2rdf.php
  2. +1 −1 b2rss.php
  3. +1 −1 b2rss2.php
  4. +3 −3 index-smarty.php
  5. +5 −6 index.php
  6. +13 −13 readme.html
  7. 0 wp-admin/{b2footer.php → admin-footer.php}
  8. +4 −9 wp-admin/{b2header.php → admin-header.php}
  9. +1 −1 wp-admin/{b2verifauth.php → auth.php}
  10. +0 −206 wp-admin/b2team.php
  11. +4 −4 wp-admin/{b2bookmarklet.php → bookmarklet.php}
  12. +6 −6 wp-admin/categories.php
  13. +6 −6 wp-admin/edit-comments.php
  14. +3 −3 wp-admin/{wp-edit.form.php → edit-form.php}
  15. +11 −11 wp-admin/{wp-edit.showposts.php → edit-showposts.php}
  16. +11 −11 wp-admin/edit.php
  17. +0 −66 wp-admin/help/en/dateformats.help.html
  18. +0 −77 wp-admin/help/en/linkcategories.php.help.html
  19. +0 −151 wp-admin/help/en/linkmanager.php.help.html
  20. +0 −41 wp-admin/help/en/links.import.php.help.html
  21. +6 −6 wp-admin/import-blogger.php
  22. +4 −4 wp-admin/import-greymatter.php
  23. +1 −1 wp-admin/import-textpattern.php
  24. +1 −1 wp-admin/index.php
  25. 0 wp-admin/{wp-install-helper.php → install-helper.php}
  26. +6 −6 wp-admin/{wp-install.php → install.php}
  27. +17 −17 wp-admin/{linkcategories.php → link-categories.php}
  28. +11 −11 wp-admin/{links.import.php → link-import.php}
  29. +13 −13 wp-admin/{linkmanager.php → link-manager.php}
  30. +1 −1 wp-admin/{links.parse.opml.php → link-parse-opml.php}
  31. +2 −2 wp-admin/{b2menutop.php → menu.php}
  32. +3 −3 wp-admin/{b2menutop.txt → menu.txt}
  33. +6 −6 wp-admin/{wp-moderation.php → moderation.php}
  34. +5 −5 wp-admin/{wp-options-permalink.php → options-permalink.php}
  35. +5 −5 wp-admin/{wp-options.php → options.php}
  36. +28 −28 wp-admin/{wp-post.php → post.php}
  37. +17 −17 wp-admin/{b2profile.php → profile.php}
  38. 0 wp-admin/{wp-quicktags.js → quicktags.js}
  39. +2 −0 wp-admin/quicktags.php
  40. +3 −3 wp-admin/{b2sidebar.php → sidebar.php}
  41. +4 −4 wp-admin/templates.php
  42. +4 −4 wp-admin/upgrade-071-to-072.php
  43. +3 −3 wp-admin/upgrade-072-to-080.php
  44. +7 −7 wp-admin/{b2upload.php → upload.php}
  45. +4 −4 wp-admin/users.php
  46. +2 −2 wp-admin/wp-admin.css
  47. +0 −2 wp-admin/wp-quicktags.php
  48. +331 −0 wp-blog-header.php
  49. +111 −0 wp-comments-popup.php
  50. +1 −4 b2comments.post.php → wp-comments-post.php
  51. +2 −2 b2comments.php → wp-comments.php
  52. +2 −2 wp-commentsrss2.php
  53. +26 −0 wp-config-sample.php
  54. 0 b2-include/class.POP3.php → wp-includes/class-pop3.php
  55. +1 −1 b2-include/smarty.inc.php → wp-includes/class-smarty.php
  56. 0 b2-include/xmlrpc.inc → wp-includes/class-xmlrpc.php
  57. +1 −1 b2-include/xmlrpcs.inc → wp-includes/class-xmlrpcs.php
  58. +4 −4 b2-include/b2functions.php → wp-includes/functions.php
  59. +2 −2 b2-include/b2template.functions.php → wp-includes/template-functions.php
  60. 0 {b2-include → wp-includes}/textile.php
  61. +2 −2 b2-include/b2vars.php → wp-includes/vars.php
  62. 0 {b2-include → wp-includes}/wp-db.php
  63. +1 −1 wp-locations.php
  64. +10 −13 b2login.php → wp-login.php
  65. +2 −9 b2mail.php → wp-mail.php
  66. +1 −2 wp-pass.php
  67. +1 −1 wp-rdf.php
  68. +2 −5 wp-register.php
  69. +1 −1 wp-rss.php
  70. +1 −1 wp-rss2.php
  71. +16 −7 wp-settings.php
  72. +89 −0 wp-trackback.php
View
@@ -1,7 +1,7 @@
<?php
$curpath = dirname(__FILE__).'/';
require_once ($curpath.'wp-config.php');
-require_once ($curpath.$b2inc.'/b2template.functions.php');
+require_once ($curpath.$b2inc.'/template-functions.php');
header('HTTP/1.0 301 Moved Permanently');
header('Location: ' . get_bloginfo('rdf_url') . "\n");
exit;
View
@@ -1,7 +1,7 @@
<?php
$curpath = dirname(__FILE__).'/';
require_once ($curpath.'wp-config.php');
-require_once ($curpath.$b2inc.'/b2template.functions.php');
+require_once ($curpath.$b2inc.'/template-functions.php');
header('HTTP/1.0 301 Moved Permanently');
header('Location: ' . get_bloginfo('rss_url') . "\n");
exit;
View
@@ -1,7 +1,7 @@
<?php
$curpath = dirname(__FILE__).'/';
require_once ($curpath.'wp-config.php');
-require_once ($curpath.$b2inc.'/b2template.functions.php');
+require_once ($curpath.$b2inc.'/template-functions.php');
header('HTTP/1.0 301 Moved Permanently');
header('Location: ' . get_bloginfo('rss2_url') . "\n");
exit;
View
@@ -8,9 +8,9 @@
$wpsmarty->compile_dir = './wp-blogs/main/templates_c';
$wpsmarty->cache_dir = './wp-blogs/main/smartycache';
$wpsmarty->plugin_dir = './wp-plugins';
-require_once( 'b2-include/smarty.inc.php' );
+require_once( 'b2-include/class-smarty.php' );
$blog = 1;
-require_once('blog.header.php');
+require_once('wp-blog-header.php');
require_once($abspath.'wp-links/links.php');
// not on by default: require_once($abspath.'wp-links/links.weblogs.com.php');
@@ -26,7 +26,7 @@
start_b2();
$content .= $wpsmarty->fetch( 'post.html' );
ob_start();
- include($abspath . 'b2comments.php');
+ include($abspath . 'wp-comments.php');
$txt = ob_get_contents();
ob_end_clean();
$content .= $txt;
View
@@ -1,8 +1,7 @@
-<?php /* Don't remove these lines, they call the b2 function files ! */
+<?php
+/* Don't remove these lines. */
$blog = 1;
-require_once('blog.header.php');
-require_once($abspath.'wp-links/links.php');
-// not on by default: require_once($abspath.'wp-links/links.weblogs.com.php');
+require_once('wp-blog-header.php');
?>
<!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">
@@ -52,7 +51,7 @@
<?php trackback_rdf(); ?>
-->
-<?php include($abspath . 'b2comments.php'); ?>
+<?php include($abspath . 'wp-comments.php'); ?>
</div>
<?php } } else { // end foreach, end if any posts ?>
@@ -93,7 +92,7 @@
</li>
<li>Other:
<ul>
- <li><a href="<?php echo $siteurl; ?>/b2login.php">login</a></li>
+ <li><a href="<?php echo $siteurl; ?>/wp-login.php">login</a></li>
<li><a href="<?php echo $siteurl; ?>/b2register.php">register</a></li>
</ul>
</li>
View
@@ -62,12 +62,12 @@ <h1 id="installation">Installation:</h1>
<li>Copy wp-config.sample.php to wp-config.php. Open wp-config.php in a text editor and modify the variables as explained in the comments. Comments are lines that start with <code>/*</code> or <code>//</code></li>
<li>Upload everything. This release is designed to sit in your root folder, IE the folder where your WordPress-powered page will reside.</li>
<li>The weblogs.com cache file needs to be writable by the web server. <a href="http://www.evolt.org/article/A_quick_and_dirty_chmod_Tutorial/18/541/">CHMOD 666</a> the <code>weblogs.com.changes.cache</code> file. </li>
- <li> Launch <a href="wp-admin/wp-install.php">wp-admin/wp-install.php</a> in your browser. This should setup the MySQL database for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the <a href="http://wordpress.org/support/">support forums</a> and make a post with all the information about the failure (error messages, etc), and your setup (the PHP and MySQL versions on your server, and the browser you were using). <strong>Note the password given to you.</strong></li>
- <li> Go to <a href="b2login.php">b2login.php</a> and sign in with the login "admin" and the password given to you by the install script. Then click on the menu 'My Profile', and change the password. Note: you need javascript enabled to launch the profile popup window.</li>
+ <li> Launch <a href="wp-admin/install.php">wp-admin/install.php</a> in your browser. This should setup the MySQL database for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the <a href="http://wordpress.org/support/">support forums</a> and make a post with all the information about the failure (error messages, etc), and your setup (the PHP and MySQL versions on your server, and the browser you were using). <strong>Note the password given to you.</strong></li>
+ <li> Go to <a href="wp-login.php">wp-login.php</a> and sign in with the login "admin" and the password given to you by the install script. Then click on the menu 'My Profile', and change the password. Note: you need javascript enabled to launch the profile popup window.</li>
</ol>
<h2>Some notes:</h2>
<ul>
- <li>Whenever you want to post something, just open a browser and go to b2login.php to log in and post.</li>
+ <li>Whenever you want to post something, just open a browser and go to wp-login.php to log in and post.</li>
<li>You can also use a bookmarklet and/or a sidebar (IE5+/NS6+) to post.</li>
<li> You can also post through the Blogger, MetaWeblog, and MovableType APIs, <a href="#xmlrpc">click here</a> for more info.</li>
<li> Your site's blog is on b2.php (simple template) and index.php (CSS template), you can rename this file to index.php or any other name you fancy (provided it bears the php extension or is interpreted as a php file by your server).</li>
@@ -87,9 +87,9 @@ <h1 id="templates">Templates:</h1>
<ul>
<li>Enclosed is an example of a template, in the file b2.php. You can rename this file to "index.php"or something else (recent b2 versions have a default index.php, which is an elaborate CSS-based template).</li>
<li>You can have any number of template files, since all they do is extract the posts from the database.</li>
- <li>Pseudo-template for the comments is in b2comments.php. You needn't rename this file, but you can edit it.</li>
+ <li>Pseudo-template for the comments is in wp-comments.php. You needn't rename this file, but you can edit it.</li>
<li>The only thing to remember is that it's not actually a template, but a PHP file that you're manipulating. So when you see "don't delete this line", you know you mustn't, unless you want to have a broken page.</li>
- <li>Required lines are: the first lines that call blog.header.php, the lines with the "while" statement, and the ones with just "}" (it ends the while loop).</li>
+ <li>Required lines are: the first lines that call wp-blog-header.php, the lines with the "while" statement, and the ones with just "}" (it ends the while loop).</li>
<li>Between the "while" line and the "}", is the template for your posts.</li>
</ul>
<h2>Notes about parameters:</h2>
@@ -429,14 +429,14 @@ <h1 id="templates">Templates:</h1>
<ul>
<li>width (default is 400)</li>
<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 comments (default is wp-comments-popup.php)</li>
</ul>
</div>
<br />
<br />
<strong>&lt;?php comments_popup_link() ?&gt;</strong><br />
This will display the link to open comments in a popup window, with the number of comments.<br />
-To edit the popup window's template, edit the file b2commentspopup.php (it's the default one for comments popup).<br />
+To edit the popup window's template, edit the file wp-comments-popup.php (it's the default one for comments popup).<br />
<br />
<br />
<div class="params">Parameters:
@@ -480,12 +480,12 @@ <h1 id="templates">Templates:</h1>
<br />
This tag differs from v0.5's tag because in v0.5 and prior, it would only display a number, not a text with it, so you could have terrible things like "1 comments" (doh !)<br />
<br />
-<strong>Necessary: &lt;?php include("b2comments.php") ?&gt;</strong><br />
+<strong>Necessary: &lt;?php include("wp-comments.php") ?&gt;</strong><br />
you'll put this line where you want the comments to be placed on your page.<br />
typically, under the post itself. don't worry, the comments only appear if the page is called in the comments mode. (like this: url?c=1)<br />
<br />
<br />
-<strong>Tags that go in b2comments.php:</strong> (these are easy too)<br />
+<strong>Tags that go in wp-comments.php:</strong> (these are easy too)<br />
<br />
<strong>&lt;?php comment_author() ?&gt;</strong><br />
<strong>&lt;?php comment_author_email() ?&gt; </strong> - displays the e-mail address, but not the link<br />
@@ -514,7 +514,7 @@ <h1 id="templates">Templates:</h1>
<strong>&lt;?php trackback_url() ?&gt; </strong><br />
This tag is out of the b2 TrackBacks loop.<br />
It will output the URL to TrackBack the post, that other people can copy and use in b2's posting interface to trackback this post.<br />
-<p> In b2comments.php, like in the main template file, please keep the first PHP lines, the "while" lines, and the "}" lines.</p>
+<p> In wp-comments.php, like in the main template file, please keep the first PHP lines, the "while" lines, and the "}" lines.</p>
<p>You can modify the form, but do not remove "&lt;?php echo ... ?&gt;" and all the name="..." attributes.</p>
<br />
<p><strong>To include your archives:</strong></p>
@@ -595,7 +595,7 @@ <h1 id="xmlrpc">XML-RPC Interface:</h1>
<br />
Extended entries in the <a href="http://www.movabletype.org/docs/mtmanual_programmatic.html">MovableType API</a> are automatically converted to/from the WordPress &lt;!--more--&gt; tag.<br />
<p>You can now post to your b2 blog with tools like <a href="http://blogbuddy.sourceforge.net">BlogBuddy</a>, <a href="http://bloggar.com/">Bloggar</a>, <a href="http://www.ubique.ch/wapblogger/">WapBlogger</a> (post from your Wap cellphone!), <a href="http://radio.userland.com">Radio Userland</a> (which means you can use Radio's email-to-blog feature), <a href="http://www.zempt.com/">Zempt</a>, <a href="http://www.newzcrawler.com/">NewzCrawler</a>, and other tools that support the Blogging APIs! :)</p>
-<p>Your XMLRPC server/path are as described here: if you login to b2 on http://example.com/me/b2login.php, then you have:</p>
+<p>Your XMLRPC server/path are as described here: if you login to b2 on http://example.com/me/wp-login.php, then you have:</p>
<ul>
<li>server: http://example.com/ (some tools will just want the 'example.com' hostname part)</li>
<li>path: /me/xmlrpc.php</li>
@@ -605,8 +605,8 @@ <h1 id="xmlrpc">XML-RPC Interface:</h1>
<h1 id="postviaemail">Post via Email:</h1>
<p>You can post news from an email client!<br />
But first you'll have to edit the options on the options screen, filling the appropriate values for your POP3 email account (this interface doesn't support IMAP yet, only POP3, sorry).</p>
-<p> Once you have edited the options, you can make your webserver execute b2mail.php every set amount of time (depending on your host's performance, this script can be resource intensive, so don't make it run every minute or you'll be kicked).</p>
-<p>You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your b2mail.php URL.</p>
+<p> Once you have edited the options, you can make your webserver execute wp-mail.php every set amount of time (depending on your host's performance, this script can be resource intensive, so don't make it run every minute or you'll be kicked).</p>
+<p>You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.</p>
<h2> Preliminary advice:</h2>
<p> It is strongly advised to send your email as text-only (Outlook and Outlook Express default to 'html', which may cause problems), but HTML email could work (the script would strip all your html tags though...).</p>
<p>It is also advised not to use your public email address, but create a new one especially for this script. If you use your public email address and the script goes crazy posting every email on your blog and deleting all your emails, I can't take responsibility for this.</p>
File renamed without changes.
@@ -1,12 +1,7 @@
<?php
require_once('../wp-config.php');
-require_once($abspath.$b2inc.'/b2template.functions.php');
-require_once($abspath.'/wp-admin/b2verifauth.php');
-require_once($abspath.$b2inc.'/b2vars.php');
-require_once($abspath.$b2inc.'/b2functions.php');
-require_once($abspath.$b2inc.'/xmlrpc.inc');
-require_once($abspath.$b2inc.'/xmlrpcs.inc');
+require_once($abspath.'/wp-admin/auth.php');
function gethelp_link($this_file, $helptag) {
$url = 'http://wordpress.org/docs/reference/links/#'.$helptag;
@@ -77,11 +72,11 @@ function redirect() {
<!-- hiding from old terrible browsers
function profile(userID) {
- window.open ("b2profile.php?action=viewprofile&user="+userID, "Profile", "width=500, height=450, location=0, menubar=0, resizable=0, scrollbars=1, status=1, titlebar=0, toolbar=0, screenX=60, left=60, screenY=60, top=60");
+ window.open ("profile.php?action=viewprofile&user="+userID, "Profile", "width=500, height=450, location=0, menubar=0, resizable=0, scrollbars=1, status=1, titlebar=0, toolbar=0, screenX=60, left=60, screenY=60, top=60");
}
function launchupload() {
- window.open ("b2upload.php", "b2upload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0");
+ window.open ("upload.php", "b2upload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0");
}
function helpWindow(url) {
@@ -96,7 +91,7 @@ function helpWindow(url) {
<?php
if ($profile==0) {
- include('b2menutop.php');
+ include('menu.php');
}
?>
@@ -41,7 +41,7 @@ function veriflog() {
if (!empty($HTTP_COOKIE_VARS["wordpressuser_".$cookiehash])) {
$error="<strong>Error</strong>: wrong login or password";
}
- $redir = "Location: $siteurl/b2login.php?redirect_to=" . urlencode($HTTP_SERVER_VARS["REQUEST_URI"]);
+ $redir = "Location: $siteurl/wp-login.php?redirect_to=" . urlencode($HTTP_SERVER_VARS["REQUEST_URI"]);
header($redir);
exit();
}
Oops, something went wrong. Retry.

0 comments on commit 43e4a8a

Please sign in to comment.