Formatting changes and version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99a7358baf
commit
e7705d626b
20
index.php
20
index.php
|
@ -7,10 +7,10 @@ require_once('wp-blog-header.php');
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
|
<title><?php bloginfo('name') ?><?php single_post_title(' » ') ?><?php single_cat_title(' » ') ?><?php single_month_title(' » ') ?></title>
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||||
<meta name="generator" content="WordPress .72" /> <!-- leave this for stats -->
|
<meta name="generator" content="WordPress <?php echo $wp_version; ?>" /> <!-- leave this for stats -->
|
||||||
|
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
@import url( <?php echo $siteurl; ?>/wp-layout.css );
|
@import url( <?php echo $siteurl; ?>/wp-layout.css );
|
||||||
|
@ -18,7 +18,9 @@ require_once('wp-blog-header.php');
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" media="print" href="<?php echo $siteurl; ?>/print.css" />
|
<link rel="stylesheet" type="text/css" media="print" href="<?php echo $siteurl; ?>/print.css" />
|
||||||
<link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
|
<link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
|
||||||
<link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
|
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
|
||||||
|
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
|
||||||
|
|
||||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||||
<?php get_archives('monthly', '', 'link'); ?>
|
<?php get_archives('monthly', '', 'link'); ?>
|
||||||
<?php //comments_popup_script(); // off by default ?>
|
<?php //comments_popup_script(); // off by default ?>
|
||||||
|
@ -98,12 +100,10 @@ require_once('wp-blog-header.php');
|
||||||
</li>
|
</li>
|
||||||
<li>Meta:
|
<li>Meta:
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="<?php bloginfo('rss_url'); ?>">RSS .92</a></li>
|
<li><a href="<?php bloginfo('rss2_url'); ?>" title="Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>
|
||||||
<li><a href="<?php bloginfo('rdf_url'); ?>">RDF 1.0</a></li>
|
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>
|
||||||
<li><a href="<?php bloginfo('rss2_url'); ?>">RSS 2.0</a></li>
|
|
||||||
<li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS 2.0</a></li>
|
|
||||||
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
|
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
|
||||||
<li><a href="http://wordpress.org" title="Powered by WordPress, personal publishing platform">WP</a></li>
|
<li><a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform">WP</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -113,6 +113,6 @@ require_once('wp-blog-header.php');
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="credit"><?php echo $wpdb->querycount; ?> queries. <?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>WordPress</strong></a></cite></p>
|
<p class="credit"><?php echo $wpdb->querycount; ?> queries. <?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/* This file sets various arrays and variables for use in b2 */
|
/* This file sets various arrays and variables for use in WordPress */
|
||||||
|
|
||||||
#b2 version
|
# WordPress version
|
||||||
$wp_version = '0.80';
|
$wp_version = '1.0-alpha-1';
|
||||||
|
|
||||||
#BBcode search and replace arrays
|
# BBcode search and replace arrays
|
||||||
$wp_bbcode['in'] = array(
|
$wp_bbcode['in'] = array(
|
||||||
'#\[b](.+?)\[/b]#is', // Formatting tags
|
'#\[b](.+?)\[/b]#is', // Formatting tags
|
||||||
'#\[i](.+?)\[/i]#is',
|
'#\[i](.+?)\[/i]#is',
|
||||||
|
@ -35,7 +35,7 @@ $wp_bbcode['out'] = array(
|
||||||
# '<a href="mailto:$1">$2</a>'
|
# '<a href="mailto:$1">$2</a>'
|
||||||
);
|
);
|
||||||
|
|
||||||
#GreyMatter formatting search and replace arrays
|
# GreyMatter formatting search and replace arrays
|
||||||
$wp_gmcode['in'] = array(
|
$wp_gmcode['in'] = array(
|
||||||
'#\\*\*(.+?)\\*\*#is', // **bold**
|
'#\\*\*(.+?)\\*\*#is', // **bold**
|
||||||
'#\\\\(.+?)\\\\#is', // \\italic\\
|
'#\\\\(.+?)\\\\#is', // \\italic\\
|
||||||
|
@ -47,7 +47,7 @@ $wp_gmcode['out'] = array(
|
||||||
'<span style="text-decoration:underline">$1</span>'
|
'<span style="text-decoration:underline">$1</span>'
|
||||||
);
|
);
|
||||||
|
|
||||||
#Translation of HTML entities and special characters
|
# Translation of HTML entities and special characters
|
||||||
$wp_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));
|
$wp_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));
|
||||||
$wp_htmltrans['<'] = '<'; # preserve HTML
|
$wp_htmltrans['<'] = '<'; # preserve HTML
|
||||||
$wp_htmltrans['>'] = '>'; # preserve HTML
|
$wp_htmltrans['>'] = '>'; # preserve HTML
|
||||||
|
@ -97,7 +97,7 @@ $wp_htmltransbis = array(
|
||||||
);
|
);
|
||||||
$wp_htmltrans = array_merge($wp_htmltrans,$wp_htmltransbis);
|
$wp_htmltrans = array_merge($wp_htmltrans,$wp_htmltransbis);
|
||||||
|
|
||||||
#Translation of invalid Unicode references range to valid range
|
# Translation of invalid Unicode references range to valid range
|
||||||
$wp_htmltranswinuni = array(
|
$wp_htmltranswinuni = array(
|
||||||
'€' => '€', // the Euro sign
|
'€' => '€', // the Euro sign
|
||||||
'' => '',
|
'' => '',
|
||||||
|
@ -269,11 +269,11 @@ foreach($wpsmiliestrans as $smiley => $img) {
|
||||||
$wp_smiliesreplace[] = " <img src='$smilies_directory/$img' alt='$smiley_masked' />";
|
$wp_smiliesreplace[] = " <img src='$smilies_directory/$img' alt='$smiley_masked' />";
|
||||||
}
|
}
|
||||||
|
|
||||||
add_filter('all', 'wptexturize');
|
add_filter('all', 'wptexturize');
|
||||||
add_filter('the_content', 'wpautop');
|
add_filter('the_content', 'wpautop');
|
||||||
add_filter('comment_text', 'wpautop');
|
add_filter('comment_text', 'wpautop');
|
||||||
// Uncomment the following for Textile support
|
// Uncomment the following for Textile support
|
||||||
//include_once('textile.php');
|
// include_once('textile.php');
|
||||||
//add_filter('the_content', 'textile');
|
// add_filter('the_content', 'textile');
|
||||||
// There is some duplication of effort so textile.php really should be tweaked to eliminate that.
|
// There is some duplication of effort so textile.php really should be tweaked to eliminate that.
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue