diff -ur blog/wp-admin/edit-form.php ../www/blog/wp-admin/edit-form.php
--- blog/wp-admin/edit-form.php	Fri Nov 12 13:48:39 2004
+++ ../www/blog/wp-admin/edit-form.php	Fri Nov 12 13:48:47 2004
@@ -63,6 +63,7 @@
     </fieldset>
 
 <br />
+Language: <select name=lang><option>bg</option> <option>en</option></select>
 <fieldset id="postdiv">
     <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend>
 		<div id="quicktags">
diff -ur blog/wp-admin/post.php ../www/blog/wp-admin/post.php
--- blog/wp-admin/post.php	Fri Nov 12 13:48:39 2004
+++ ../www/blog/wp-admin/post.php	Fri Nov 12 13:48:47 2004
@@ -20,7 +20,7 @@
 $_COOKIE = add_magic_quotes($_COOKIE);
 }
 
-$wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder');
+$wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder','lang');
 
 for ($i=0; $i<count($wpvarstoreset); $i += 1) {
 $wpvar = $wpvarstoreset[$i];
@@ -106,18 +106,18 @@
 	if ('' != $_POST['publish']) $post_status = 'publish';
 	if ('' != $_POST['advanced']) $post_status = 'draft';
 
-
+	if (empty($lang)) $lang='bg';
 	if((get_settings('use_geo_positions')) && (strlen($latstr) > 2) && (strlen($lonstr) > 2) ) {
 	$postquery ="INSERT INTO $tableposts
-			(ID, post_author, post_date, post_date_gmt, post_content, post_title, post_lat, post_lon, post_excerpt,  post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt)
+			(ID, post_author, post_date, post_date_gmt, post_content, post_title, post_lat, post_lon, post_excerpt,  post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt,language)
 			VALUES
-			('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', $post_latf, $post_lonf,'$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt')
+			('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', $post_latf, $post_lonf,'$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt','$lang')
 			";
 	} else {
 	$postquery ="INSERT INTO $tableposts
-			(ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt,  post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt)
+			(ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt,  post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt,language)
 			VALUES
-			('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', '$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt')
+			('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', '$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt','$lang')
 			";
 	}
 	$postquery =
diff -ur blog/wp-blog-header.php ../www/blog/wp-blog-header.php
--- blog/wp-blog-header.php	Fri Nov 12 13:48:39 2004
+++ ../www/blog/wp-blog-header.php	Fri Nov 12 13:48:46 2004
@@ -49,7 +49,7 @@
     }    
 }
 
-$wpvarstoreset = array('m','p','posts','w', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'feed', 'author_name');
+$wpvarstoreset = array('m','p','posts','w', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'feed', 'author_name','lang');
 
     for ($i=0; $i<count($wpvarstoreset); $i += 1) {
         $wpvar = $wpvarstoreset[$i];
@@ -84,7 +84,7 @@
 	// We're showing a feed, so WP is indeed the only thing that last changed
 	$wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT';
 	$wp_etag = '"'.md5($wp_last_modified).'"';
-	@header('Last Modified: '.$wp_last_modified);
+	@header('Last-Modified: '.$wp_last_modified);
 	@header('ETag: '.$wp_etag);
 	@header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
 
@@ -137,6 +137,16 @@
     $showposts = (int)$showposts;
     $posts_per_page = $showposts;
 }
+
+/* mnx hack for bilangual support */
+if ($lang == '') $lang='bg';
+if ($lang != 'bg' && $lang!='en') exit();
+if ($lang != 'any')
+{
+        $where .= " AND language='$lang' ";
+}
+
+	
 
 $add_hours = intval(get_settings('gmt_offset'));
 $add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours));
diff -ur blog/wp-comments.php ../www/blog/wp-comments.php
--- blog/wp-comments.php	Fri Nov 12 13:48:39 2004
+++ ../www/blog/wp-comments.php	Fri Nov 12 13:48:46 2004
@@ -47,7 +47,14 @@
 <?php } ?>
 <p><?php comments_rss_link(__("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post.")); ?></p>
 <h2 id="postcomment"><?php _e("Leave a comment"); ?></h2>
-<?php if ('open' == $post->comment_status) { ?>
+<?php if ('open' == $post->comment_status) { 
+	if ($lang =='bg') {
+	
+ ?>
+<p>
+<p> <b>Моля, пишете българските коментари на кирилица. Причините можете да разберете <a href=http://6lyokavitza.org/>тук</a></b></p> <?
+	         }
+	?>
 <p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p>
 
 <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
diff -ur blog/wp-includes/links.php ../www/blog/wp-includes/links.php
--- blog/wp-includes/links.php	Fri Nov 12 13:48:39 2004
+++ ../www/blog/wp-includes/links.php	Fri Nov 12 13:48:47 2004
@@ -525,7 +525,7 @@
  *   order (default 'name')  - Sort link categories by 'name' or 'id'
  *   hide_if_empty (default true)  - Supress listing empty link categories
  */
-function get_links_list($order = 'name', $hide_if_empty = 'obsolete') {
+function get_links_list($order = 'id', $hide_if_empty = 'obsolete') {
 	global $tablelinkcategories, $tablelinks, $wpdb;
 
 	$order = strtolower($order);
@@ -577,4 +577,4 @@
 	}
 }
 
-?>
\ No newline at end of file
+?>

