Bug fixes, sidebar.php from Phil Ringnalda.

git-svn-id: http://svn.automattic.com/wordpress/trunk@877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-16 23:23:25 +00:00
parent d0c81c9f8e
commit 48c6f10fd2
2 changed files with 2 additions and 5 deletions

View File

@ -119,6 +119,7 @@ switch($step) {
// We'll fail here if the values are no good.
require_once('../wp-includes/wp-db.php');
$handle = fopen('../wp-config.php', 'w');
foreach ($configFile as $line_num => $line) {
switch (substr($line,0,16)) {

View File

@ -1,8 +1,4 @@
<?php
function selected($selected, $current) {
if ($selected == $current) echo ' selected="selected"';
}
$mode = 'sidebar';
$standalone = 1;
@ -34,7 +30,7 @@ if ('b' == $HTTP_GET_VARS['a']) {
?><html>
<head>
<title>WordPress > Sidebar</title>
<title>WordPress &rsaquo; Sidebar</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
<link rel="shortcut icon" href="../wp-images/wp-favicon.png" />