Changeset 601
- Timestamp:
- 12/11/2003 12:22:36 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 41 added
- 30 deleted
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2rdf.php
r535 r601 2 2 $curpath = dirname(__FILE__).'/'; 3 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.$b2inc.'/ b2template.functions.php');4 require_once ($curpath.$b2inc.'/template-functions.php'); 5 5 header('HTTP/1.0 301 Moved Permanently'); 6 6 header('Location: ' . get_bloginfo('rdf_url') . "\n"); -
trunk/b2rss.php
r535 r601 2 2 $curpath = dirname(__FILE__).'/'; 3 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.$b2inc.'/ b2template.functions.php');4 require_once ($curpath.$b2inc.'/template-functions.php'); 5 5 header('HTTP/1.0 301 Moved Permanently'); 6 6 header('Location: ' . get_bloginfo('rss_url') . "\n"); -
trunk/b2rss2.php
r535 r601 2 2 $curpath = dirname(__FILE__).'/'; 3 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.$b2inc.'/ b2template.functions.php');4 require_once ($curpath.$b2inc.'/template-functions.php'); 5 5 header('HTTP/1.0 301 Moved Permanently'); 6 6 header('Location: ' . get_bloginfo('rss2_url') . "\n"); -
trunk/index-smarty.php
r544 r601 9 9 $wpsmarty->cache_dir = './wp-blogs/main/smartycache'; 10 10 $wpsmarty->plugin_dir = './wp-plugins'; 11 require_once( 'b2-include/ smarty.inc.php' );11 require_once( 'b2-include/class-smarty.php' ); 12 12 $blog = 1; 13 require_once(' blog.header.php');13 require_once('wp-blog-header.php'); 14 14 require_once($abspath.'wp-links/links.php'); 15 15 // not on by default: require_once($abspath.'wp-links/links.weblogs.com.php'); … … 27 27 $content .= $wpsmarty->fetch( 'post.html' ); 28 28 ob_start(); 29 include($abspath . ' b2comments.php');29 include($abspath . 'wp-comments.php'); 30 30 $txt = ob_get_contents(); 31 31 ob_end_clean(); -
trunk/index.php
r569 r601 1 <?php /* Don't remove these lines, they call the b2 function files ! */ 1 <?php 2 /* Don't remove these lines. */ 2 3 $blog = 1; 3 require_once('blog.header.php'); 4 require_once($abspath.'wp-links/links.php'); 5 // not on by default: require_once($abspath.'wp-links/links.weblogs.com.php'); 4 require_once('wp-blog-header.php'); 6 5 ?> 7 6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … … 53 52 --> 54 53 55 <?php include($abspath . ' b2comments.php'); ?>54 <?php include($abspath . 'wp-comments.php'); ?> 56 55 </div> 57 56 … … 94 93 <li>Other: 95 94 <ul> 96 <li><a href="<?php echo $siteurl; ?>/ b2login.php">login</a></li>95 <li><a href="<?php echo $siteurl; ?>/wp-login.php">login</a></li> 97 96 <li><a href="<?php echo $siteurl; ?>/b2register.php">register</a></li> 98 97 </ul> -
trunk/readme.html
r462 r601 63 63 <li>Upload everything. This release is designed to sit in your root folder, IE the folder where your WordPress-powered page will reside.</li> 64 64 <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> 65 <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>66 <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>65 <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> 66 <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> 67 67 </ol> 68 68 <h2>Some notes:</h2> 69 69 <ul> 70 <li>Whenever you want to post something, just open a browser and go to b2login.php to log in and post.</li>70 <li>Whenever you want to post something, just open a browser and go to wp-login.php to log in and post.</li> 71 71 <li>You can also use a bookmarklet and/or a sidebar (IE5+/NS6+) to post.</li> 72 72 <li> You can also post through the Blogger, MetaWeblog, and MovableType APIs, <a href="#xmlrpc">click here</a> for more info.</li> … … 88 88 <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> 89 89 <li>You can have any number of template files, since all they do is extract the posts from the database.</li> 90 <li>Pseudo-template for the comments is in b2comments.php. You needn't rename this file, but you can edit it.</li>90 <li>Pseudo-template for the comments is in wp-comments.php. You needn't rename this file, but you can edit it.</li> 91 91 <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> 92 <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>92 <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> 93 93 <li>Between the "while" line and the "}", is the template for your posts.</li> 94 94 </ul> … … 430 430 <li>width (default is 400)</li> 431 431 <li>height (default is 400)</li> 432 <li>file name, in case you want to use a different template for comments (default is b2commentspopup.php)</li>432 <li>file name, in case you want to use a different template for comments (default is wp-comments-popup.php)</li> 433 433 </ul> 434 434 </div> … … 437 437 <strong><?php comments_popup_link() ?></strong><br /> 438 438 This will display the link to open comments in a popup window, with the number of comments.<br /> 439 To edit the popup window's template, edit the file b2commentspopup.php (it's the default one for comments popup).<br />439 To edit the popup window's template, edit the file wp-comments-popup.php (it's the default one for comments popup).<br /> 440 440 <br /> 441 441 <br /> … … 481 481 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 /> 482 482 <br /> 483 <strong>Necessary: <?php include(" b2comments.php") ?></strong><br />483 <strong>Necessary: <?php include("wp-comments.php") ?></strong><br /> 484 484 you'll put this line where you want the comments to be placed on your page.<br /> 485 485 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 /> 486 486 <br /> 487 487 <br /> 488 <strong>Tags that go in b2comments.php:</strong> (these are easy too)<br />488 <strong>Tags that go in wp-comments.php:</strong> (these are easy too)<br /> 489 489 <br /> 490 490 <strong><?php comment_author() ?></strong><br /> … … 515 515 This tag is out of the b2 TrackBacks loop.<br /> 516 516 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 /> 517 <p> In b2comments.php, like in the main template file, please keep the first PHP lines, the "while" lines, and the "}" lines.</p>517 <p> In wp-comments.php, like in the main template file, please keep the first PHP lines, the "while" lines, and the "}" lines.</p> 518 518 <p>You can modify the form, but do not remove "<?php echo ... ?>" and all the name="..." attributes.</p> 519 519 <br /> … … 596 596 Extended entries in the <a href="http://www.movabletype.org/docs/mtmanual_programmatic.html">MovableType API</a> are automatically converted to/from the WordPress <!--more--> tag.<br /> 597 597 <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> 598 <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>598 <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> 599 599 <ul> 600 600 <li>server: http://example.com/ (some tools will just want the 'example.com' hostname part)</li> … … 606 606 <p>You can post news from an email client!<br /> 607 607 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> 608 <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>609 <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>608 <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> 609 <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> 610 610 <h2> Preliminary advice:</h2> 611 611 <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> -
trunk/wp-admin/categories.php
r590 r601 41 41 42 42 $standalone = 1; 43 require_once(' b2header.php');43 require_once('admin-header.php'); 44 44 45 45 if ($user_level < 3) … … 59 59 60 60 $standalone = 1; 61 require_once(' b2header.php');61 require_once('admin-header.php'); 62 62 63 63 $cat_ID = intval($HTTP_GET_VARS["cat_ID"]); … … 80 80 case 'edit': 81 81 82 require_once (' b2header.php');82 require_once ('admin-header.php'); 83 83 $category = $wpdb->get_row("SELECT * FROM $tablecategories WHERE cat_ID = " . $HTTP_GET_VARS['cat_ID']); 84 84 $cat_name = stripslashes($category->cat_name); … … 105 105 106 106 $standalone = 1; 107 require_once(' b2header.php');107 require_once('admin-header.php'); 108 108 109 109 if ($user_level < 3) … … 124 124 125 125 $standalone = 0; 126 require_once (' b2header.php');126 require_once ('admin-header.php'); 127 127 if ($user_level < 3) { 128 128 die("You have no right to edit the categories for this blog.<br />Ask for a promotion to your <a href='mailto:$admin_email'>blog admin</a>. :)"); … … 195 195 196 196 /* </Categories> */ 197 include(' b2footer.php');197 include('admin-footer.php'); 198 198 ?> -
trunk/wp-admin/edit-comments.php
r590 r601 2 2 $title = 'Edit Comments'; 3 3 $parent_file = 'edit.php'; 4 require_once(' b2header.php');4 require_once('admin-header.php'); 5 5 6 6 if (!$showcomments) { … … 41 41 <li><a href="edit.php">Latest Posts</a></li> 42 42 <li><a href="edit-comments.php" class="current">Latest Comments</a></li> 43 <li class="last"><a href=" wp-moderation.php">Comments Awaiting Moderation</a></li>43 <li class="last"><a href="moderation.php">Comments Awaiting Moderation</a></li> 44 44 </ul> 45 45 … … 156 156 <p>Posted <?php comment_date('M j, g:i A') ?> | <?php 157 157 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 158 echo "<a href=\" wp-post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit Comment</a>";159 echo " | <a href=\" wp-post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> | ";158 echo "<a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit Comment</a>"; 159 echo " | <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> | "; 160 160 } // end if any comments to show 161 161 // Get post title 162 162 $post_title = $wpdb->get_var("SELECT post_title FROM $tableposts WHERE ID = $comment->comment_post_ID"); 163 163 $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; 164 ?> <a href=" wp-post.php?action=edit&post=<?php echo $comment->comment_post_ID; ?>">Edit Post “<?php echo $post_title; ?>”</a></p>164 ?> <a href="post.php?action=edit&post=<?php echo $comment->comment_post_ID; ?>">Edit Post “<?php echo $post_title; ?>”</a></p> 165 165 </li> 166 166 … … 184 184 <?php 185 185 echo $comments_nav_bar; 186 include(' b2footer.php');186 include('admin-footer.php'); 187 187 ?> -
trunk/wp-admin/edit.php
r570 r601 1 1 <?php 2 2 $title = 'Edit Posts'; 3 require_once(' b2header.php');3 require_once('admin-header.php'); 4 4 if (!$showposts) { 5 5 if ($posts_per_page) { … … 39 39 <li><a href="edit.php" class="current">Latest Posts</a></li> 40 40 <li><a href="edit-comments.php">Latest Comments</a></li> 41 <li class="last"><a href=" wp-moderation.php">Comments Awaiting Moderation</a></li>41 <li class="last"><a href="moderation.php">Comments Awaiting Moderation</a></li> 42 42 </ul> 43 43 … … 234 234 235 235 <?php 236 include($abspath.' blog.header.php');236 include($abspath.'wp-blog-header.php'); 237 237 238 238 if ($posts) { … … 243 243 <?php 244 244 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 245 echo " - <a href=' wp-post.php?action=edit&post=$id";245 echo " - <a href='post.php?action=edit&post=$id"; 246 246 if ($m) 247 247 echo "&m=$m"; 248 248 echo "'>Edit</a>"; 249 echo " - <a href=' wp-post.php?action=delete&post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";249 echo " - <a href='post.php?action=delete&post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> "; 250 250 } 251 251 if ('private' == $post->post_status) echo ' - <strong>Private</strong>'; … … 285 285 <?php 286 286 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 287 echo "[ <a href=\" wp-post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>";288 echo " - <a href=\" wp-post.php?action=deletecomment&p=".$post->ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";287 echo "[ <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>"; 288 echo " - <a href=\"post.php?action=deletecomment&p=".$post->ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> "; 289 289 if ( ('none' != $comment_status) && ($user_level >= 3) ) { 290 290 if ('approved' == wp_get_comment_status($comment->comment_ID)) { 291 echo " - <a href=\" wp-post.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Unapprove</a> ";291 echo " - <a href=\"post.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Unapprove</a> "; 292 292 } else { 293 echo " - <a href=\" wp-post.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Approve</a> ";293 echo " - <a href=\"post.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Approve</a> "; 294 294 } 295 295 } … … 321 321 <!-- form to add a comment --> 322 322 323 <form action="<?php echo $siteurl.'/ b2comments.post.php'?>" method="post">323 <form action="<?php echo $siteurl.'/wp-comments-post.php'?>" method="post"> 324 324 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 325 325 <input type="hidden" name="redirect_to" value="<?php echo $HTTP_SERVER_VARS["REQUEST_URI"]; ?>" /> … … 358 358 // uncomment this to show the nav bar at the bottom as well 359 359 echo $posts_nav_bar; 360 include(' b2footer.php');361 ?> 360 include('admin-footer.php'); 361 ?> -
trunk/wp-admin/import-blogger.php
r570 r601 22 22 23 23 require_once('../wp-config.php'); 24 require_once($abspath.$b2inc.'/ b2template.functions.php');25 require_once($abspath.$b2inc.'/ b2functions.php');26 require_once($abspath.$b2inc.'/ b2vars.php');24 require_once($abspath.$b2inc.'/template-functions.php'); 25 require_once($abspath.$b2inc.'/functions.php'); 26 require_once($abspath.$b2inc.'/vars.php'); 27 27 28 28 ?> … … 34 34 <body> 35 35 <div class="wrap"> 36 <h1>Blogger to <img src="../ b2-img/wpminilogo.png" width="50" height="50" border="0" alt="WordPress" align="top" /></h1>36 <h1>Blogger to <img src="../wp-images/wpminilogo.png" width="50" height="50" border="0" alt="WordPress" align="top" /></h1> 37 37 <p>The importer is running...</p> 38 38 <ul> … … 167 167 <p> </p> 168 168 <p>Completed Blogger to WordPress import!</p> 169 <p>Now you can go and <a href="../ b2login.php">log in</a>, have fun!</p>169 <p>Now you can go and <a href="../wp-login.php">log in</a>, have fun!</p> 170 170 </div> 171 171 </body> … … 185 185 <body> 186 186 <div class="wrap"> 187 <h1>Blogger to <img src="../ b2-img/wpminilogo.png" width="50" height="50" border="0" alt="WordPress" align="top" /></h1>187 <h1>Blogger to <img src="../wp-images/wpminilogo.png" width="50" height="50" border="0" alt="WordPress" align="top" /></h1> 188 188 <p>This is a basic Blogger to WordPress import script.</p> 189 189 <p>What it does:</p> -
trunk/wp-admin/import-greymatter.php
r570 r601 6 6 7 7 require_once('wp-config.php'); 8 require_once($abspath.$b2inc.'/ b2functions.php');8 require_once($abspath.$b2inc.'/functions.php'); 9 9 10 10 $b2varstoreset = array('action', 'gmpath', 'archivespath'); … … 64 64 </head> 65 65 <body style="margin: 20px;"> 66 <p><font face="times new roman" style="font-size: 39px;">gm 2 <img src=" b2-img/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="b2" align="top" /></font></p> 67 67 <p>The importer is running...</p> 68 68 <ul> … … 240 240 <p> </p> 241 241 <p>Completed GM 2 b2 import !</p> 242 <p>Now you can go and <a href=" b2login.php">log in</a>, have fun !</p>242 <p>Now you can go and <a href="wp-login.php">log in</a>, have fun !</p> 243 243 <?php 244 244 break; … … 275 275 </head> 276 276 <body style="margin: 20px;"> 277 <p><font face="times new roman" style="font-size: 39px;">gm 2 <img src=" b2-img/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="b2" align="top" /></font></p> 278 278 <p>This is a basic GreyMatter to b2 import script.</p> 279 279 <p>What it does:</p> -
trunk/wp-admin/import-textpattern.php
r570 r601 10 10 if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config.sample.php with the proper database connection information and renamed it to wp-config.php."); 11 11 require('../wp-config.php'); 12 require(' wp-install-helper.php');12 require('install-helper.php'); 13 13 14 14 $step = $HTTP_GET_VARS['step']; -
trunk/wp-admin/index.php
r479 r601 3 3 /* This will possibly be more later but for now let's just redirect. */ 4 4 5 header ('Location: wp-post.php');5 header ('Location: post.php'); 6 6 ?> -
trunk/wp-admin/templates.php
r589 r601 40 40 41 41 $standalone = 1; 42 require_once(" b2header.php");42 require_once("admin-header.php"); 43 43 44 44 if ($user_level < 3) { … … 60 60 default: 61 61 62 require_once(' b2header.php');62 require_once('admin-header.php'); 63 63 64 64 if ($user_level <= 3) { … … 128 128 </div> 129 129 <div class="wrap"> 130 <p>You can also edit the <a href="templates.php?file= b2comments.php">comments template</a> or the <a href="templates.php?file=b2commentspopup.php">popup comments template</a>, or edit any other file (provided it’s writable by the server, e.g. CHMOD 766).</p>130 <p>You can also edit the <a href="templates.php?file=wp-comments.php">comments template</a> or the <a href="templates.php?file=wp-comments-popup.php">popup comments template</a>, or edit any other file (provided it’s writable by the server, e.g. CHMOD 766).</p> 131 131 <p>To edit a file, type its name here:</p> 132 132 <form name="file" action="templates.php" method="get"> … … 141 141 } 142 142 143 include(" b2footer.php") ?>143 include("admin-footer.php") ?> -
trunk/wp-admin/upgrade-071-to-072.php
r494 r601 3 3 if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config.sample.php with the proper database connection information and renamed it to wp-config.php."); 4 4 require('../wp-config.php'); 5 require(' wp-install-helper.php');5 require('install-helper.php'); 6 6 7 7 $thisfile = 'upgrade-071-to-072.php'; … … 409 409 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(15,'use_balanceTags', 2, '1', 'this could help balance your HTML code. if it gives bad results, set it to false', 8, 20)", 410 410 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(16,'use_smilies', 2, '1', 'set this to true to enable smiley conversion in posts (note: this makes smiley conversion in ALL posts)', 8, 20)", 411 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(17,'smilies_directory', 3, 'http://example.com/ b2-img/smilies', 'the directory where your smilies are (no trailing slash)', 8, 40)",411 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(17,'smilies_directory', 3, 'http://example.com/wp-images/smilies', 'the directory where your smilies are (no trailing slash)', 8, 40)", 412 412 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(18,'require_name_email', 2, '0', 'set this to true to require e-mail and name, or false to allow comments without e-mail/name', 8, 20)", 413 413 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(19,'comment_allowed_tags', 3, '<b><i><strong><em><code><blockquote><p><br><strike><a>', 'here is a list of the tags that are allowed in the comments. You can add tags to the list, just add them in the string, add only the opening tag: for example, only \'<a>\' instead of \'<a href=\"\"></a>\'', 8, 40)", … … 710 710 ?> 711 711 <p>Hmm... I couldn't find links.config.php so I couldn't transfer all your settings. 712 You need to check them on the <a href=" wp-options.php?option_group_id=8">admin options page</a>.</p>712 You need to check them on the <a href="options.php?option_group_id=8">admin options page</a>.</p> 713 713 <?php 714 714 } // end else no links.config … … 820 820 ?> 821 821 <p>Hmm... I couldn't find b2config.php so I couldn't transfer all your settings. 822 You need to check them on the <a href=" wp-options.php?option_group_id=6">admin options page</a>.</p>822 You need to check them on the <a href="options.php?option_group_id=6">admin options page</a>.</p> 823 823 <p>You can now go play with your <a href="<?php echo $siteurl ? $siteurl : '../index.php'; ?>">updated blog</a> </p> 824 824 <?php -
trunk/wp-admin/upgrade-072-to-080.php
r567 r601 1 1 <?php 2 2 require_once('../wp-config.php'); 3 require(' wp-install-helper.php');3 require('install-helper.php'); 4 4 5 5 $step = $HTTP_GET_VARS['step']; … … 110 110 (`option_id`, `blog_id`, `option_name`, `option_can_override`, `option_type`, `option_value`, `option_width`, `option_height`, `option_description`, `option_admin_level`) 111 111 VALUES 112 ('', '0', 'permalink_structure', 'Y', '3', '', '20', '8', 'How the permalinks for your site are constructed. See <a href=\" wp-options-permalink.php\">permalink options page</a> for necessary mod_rewrite rules and more information.', '8');");112 ('', '0', 'permalink_structure', 'Y', '3', '', '20', '8', 'How the permalinks for your site are constructed. See <a href=\"options-permalink.php\">permalink options page</a> for necessary mod_rewrite rules and more information.', '8');"); 113 113 } 114 114 ?> … … 271 271 ?> 272 272 All done!</p> 273 <p>You are ready to rock ’n roll. <a href="../ b2login.php">Go crazy</a>.</p>273 <p>You are ready to rock ’n roll. <a href="../wp-login.php">Go crazy</a>.</p> 274 274 <?php 275 275 break; -
trunk/wp-admin/users.php
r591 r601 24 24 25 25 $standalone = 1; 26 require_once(' b2header.php');26 require_once('admin-header.php'); 27 27 28 28 if (empty($HTTP_GET_VARS['prom'])) { … … 54 54 55 55 $standalone = 1; 56 require_once(' b2header.php');56 require_once('admin-header.php'); 57 57 58 58 $id = $HTTP_GET_VARS['id']; … … 81 81 82 82 $standalone = 0; 83 include (' b2header.php');83 include ('admin-header.php'); 84 84 ?> 85 85 <div class="wrap"> … … 193 193 194 194 /* </Team> */ 195 include(' b2footer.php');195 include('admin-footer.php'); 196 196 ?> -
trunk/wp-admin/wp-admin.css
r590 r601 294 294 height: 44px; 295 295 margin: 0; 296 background: repeat-x url(../ b2-img/header-shadow.png) #f2f2f2;296 background: repeat-x url(../wp-images/header-shadow.png) #f2f2f2; 297 297 } 298 298 299 299 #wphead a { 300 300 display: block; 301 background: url(../ b2-img/wp-small.png) no-repeat;301 background: url(../wp-images/wp-small.png) no-repeat; 302 302 height: 44px; 303 303 text-decoration: none; -
trunk/wp-commentsrss2.php
r569 r601 8 8 $blog=1; // enter your blog's ID 9 9 header('Content-type: text/xml'); 10 include('blog.header.php');10 require('wp-blog-header.php'); 11 11 12 12 if (!isset($rss_language)) { $rss_language = 'en'; } -
trunk/wp-locations.php
r294 r601 1 1 <?php $blog = 1; // enter your blog's ID 2 2 header('Content-type: text/xml'); 3 include(' blog.header.php');3 include('wp-blog-header.php'); 4 4 ?><?php echo "<?xml version=\"1.0\"?".">\n"; ?> 5 5 <travels> -
trunk/wp-pass.php
r458 r601 1 1 <?php 2 3 2 /* 4 3 This is just a very simple script to set a cookie with a posted password and redirect back from whence the browser came. … … 6 5 -- Matt 7 6 */ 8 include_once('wp-config.php');7 require(dirname(__FILE__) . '/wp-config.php'); 9 8 setcookie('wp-postpass_'.$cookiehash, $HTTP_POST_VARS['post_password'], time()+60*60*24*30); 10 9 header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']); -
trunk/wp-rdf.php
r568 r601 3 3 $doing_rss = 1; 4 4 header('Content-type: text/xml', true); 5 include('blog.header.php');5 require('wp-blog-header.php'); 6 6 7 7 // Get the time of the most recent article -
trunk/wp-register.php
r586 r601 1 1 <?php 2 /* <Register> */ 3 4 require_once('wp-config.php'); 5 require_once($abspath.$b2inc.'/b2functions.php'); 2 require(dirname(__FILE__) . '/wp-config.php'); 6 3 7 4 function add_magic_quotes($array) { … … 127 124 Password: <strong><?php echo $stars; ?></strong><br /> 128 125 E-mail: <strong><?php echo $user_email; ?></strong></p> 129 <form action=" b2login.php" method="post" name="login">126 <form action="wp-login.php" method="post" name="login"> 130 127 <input type="hidden" name="log" value="<?php echo $user_login; ?>" /> 131 128 <input type="submit" value="Login" name="submit" /> -
trunk/wp-rss.php
r568 r601 4 4 $doing_rss = 1; 5 5 header('Content-type: text/xml', true); 6 include('blog.header.php');6 require('wp-blog-header.php'); 7 7 8 8 // Get the time of the most recent article -
trunk/wp-rss2.php
r568 r601 3 3 $doing_rss = 1; 4 4 header('Content-type: text/xml', true); 5 include('blog.header.php');5 require('wp-blog-header.php'); 6 6 7 7 // Get the time of the most recent article -
trunk/wp-settings.php
r561 r601 1 1 <?php 2 // This is the name of the include directory. No "/" allowed. 3 $b2inc = 'wp-includes'; 4 5 require ($abspath . 'wp-config-extra.php'); 6 require ($abspath . $b2inc . '/wp-db.php'); 7 require ($abspath . $b2inc . '/functions.php'); 8 require ($abspath . $b2inc . '/template-functions.php'); 9 require ($abspath . $b2inc . '/vars.php'); 10 require ($abspath . $b2inc . '/class-xmlrpc.php'); 11 require ($abspath . $b2inc . '/class-xmlrpcs.php'); 12 require ($abspath . '/wp-links/links.php'); 13 14 $HTTP_HOST = getenv('HTTP_HOST'); /* domain name */ 15 $REMOTE_ADDR = getenv('REMOTE_ADDR'); /* visitor's IP */ 16 $HTTP_USER_AGENT = getenv('HTTP_USER_AGENT'); /* visitor's browser */ 17 2 18 // Table names 3 19 $tableposts = $table_prefix . 'posts'; … … 79 95 $default_geourl_lon = get_settings('default_geourl_lon'); 80 96 81 /* not currently used82 if (get_settings('search_engine_friendly_urls')) {83 $querystring_start = '/';84 $querystring_equal = '/';85 $querystring_separator = '/';86 } else {87 */88 97 $querystring_start = '?'; 89 98 $querystring_equal = '=';
Note: See TracChangeset
for help on using the changeset viewer.