diff --git a/b2rdf.php b/b2rdf.php index 7c63a87322..2e6ef99bd9 100644 --- a/b2rdf.php +++ b/b2rdf.php @@ -1,7 +1,7 @@ plugin_dir = './wp-plugins'; require_once( 'b2-include/class-smarty.php' ); $blog = 1; 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'); +require_once(ABSPATH.'wp-links/links.php'); +// not on by default: require_once(ABSPATH.'wp-links/links.weblogs.com.php'); define( 'NODISPLAY', false ); $wpsmarty->assign( 'siteurl', $siteurl ); -$wpsmarty->assign( 'b2_version', $b2_version ); +$wpsmarty->assign( 'b2_version', $wp_version ); if($posts) { foreach ($posts as $post) { - start_b2(); + start_wp(); $content .= $wpsmarty->fetch( 'post.html' ); ob_start(); - include($abspath . 'wp-comments.php'); + include(ABSPATH . 'wp-comments.php'); $txt = ob_get_contents(); ob_end_clean(); $content .= $txt; diff --git a/index.php b/index.php index 9a708f961a..3d440a9d25 100644 --- a/index.php +++ b/index.php @@ -30,7 +30,7 @@ require_once('wp-blog-header.php');

- + ',''); ?> @@ -51,7 +51,7 @@ require_once('wp-blog-header.php'); --> - +
diff --git a/layout2b.css b/layout2b.css deleted file mode 100644 index 0b05e6d460..0000000000 --- a/layout2b.css +++ /dev/null @@ -1,171 +0,0 @@ -/* Default WordPress by Matthew Mullenweg http://photomatt.net - This is just a basic layout, with only the bare minimum defined. - Please tweak this and make it your own. :) -*/ - -a { - color: #069; -} - -a:visited { - color: #039; -} - -a:hover { - color: #39c; -} - -acronym, abbr { - border-bottom: 1px dashed #333; -} - -acronym, abbr, span.caps { - cursor: help; - font-size: 90%; - letter-spacing: .07em; -} - -blockquote { - border-left: 5px solid #ccc; - margin-left: 1.5em; - padding-left: 5px; -} - -body { - font-family: Georgia, "Times New Roman", Times, serif; - margin: 0; -} - -h2 { - border-bottom: 2px solid #ccc; - margin-bottom: 2px; -} - -p, li { - line-height: 130%; -} - -.b2calendarcell { - color: #000; -} - -.b2calendaremptycell { -} - -.b2calendarheadercell { - background: #808080; - color: #ccc; -} - -.b2calendarlinkpost { - color: #f00; - text-decoration: none; -} - -.b2calendarmonth { - color: #aaa; -} - -.b2calendarrow { - color: #0f0; -} - -.b2calendartable { - background: #fff; - border: 1px solid #000; -} - -.b2calendartoday { - color: #00f; -} - -.credit { - font-size: 11px; - text-align: center; -} - -.feedback { - text-align: right; - color: #ccc; -} - -.meta, .meta a { - color: #808080; - font-size: small; -} - -.storytitle a { - text-decoration: none; -} - -#content { - margin: 0 160px 0 20px; -} - -#header { - background-color: #808080; - margin: 0; - padding-left: 10px; -} - -#header a { - color: #fff; - text-decoration: none; -} - -#header a:hover { - color: #ccc; -} - -#menu { - background-color: #000; - border-left: 3px solid #666; - padding-bottom: 10px; - position: absolute; - right: 0; - top: 65px; - width: 150px; -} - -#menu form { - margin: 0 0 0 13px; -} - -#menu input { - background-color: #ccc; - border: 2px solid #666; -} - -#menu ul { - color: #ccc; - font-variant: small-caps; - font-weight: bold; - list-style-type: none; - margin: 0; - padding-left: 3px; -} - -#menu ul ul { - font-variant: normal; - font-weight: normal; - line-height: 100%; - list-style-type: none; - margin: 0; - padding: 0; - text-align: left; -} - -#menu ul ul li { - line-height: 115%; - padding-left: 12px; -} - -#menu ul ul li a { - color: #fff; - height: 13px; - text-decoration: none; -} - -#menu ul ul li a:hover { - border-bottom: 1px solid #ccc; -} \ No newline at end of file diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 7b08d7b255..6674614d48 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -1,6 +1,6 @@ -

WordPress Support Forums
+

WordPress Support Forums
diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 8f57174189..4563462596 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -1,7 +1,7 @@ + start_wp(); ?>

[

[ diff --git a/wp-admin/import-blogger.php b/wp-admin/import-blogger.php index 07d3ed220b..6c477464c6 100644 --- a/wp-admin/import-blogger.php +++ b/wp-admin/import-blogger.php @@ -1,17 +1,17 @@ diff --git a/wp-admin/import-greymatter.php b/wp-admin/import-greymatter.php index b6fe8170a2..c5e1191a83 100644 --- a/wp-admin/import-greymatter.php +++ b/wp-admin/import-greymatter.php @@ -5,20 +5,20 @@ // 3. load in the browser from there require_once('wp-config.php'); -require_once($abspath.$b2inc.'/functions.php'); +require_once(ABSPATH.WPINC.'/functions.php'); -$b2varstoreset = array('action', 'gmpath', 'archivespath'); -for ($i=0; $i WordPress :: upload images/files - +