Index: trunk/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 154)
+++ trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 155)
@@ -1,3 +1,17 @@
 <?php
+function xpress_selected_author($show=true ) {
+	$output = '';
+  	$author_cookie = get_xpress_dir_name() . "_select_author" ;
+  	if (!empty($_COOKIE[$author_cookie])){
+  		$uid = intval($_COOKIE[$author_cookie]);
+  		$user_info = get_userdata($uid);
+  		$output = $user_info->display_name;
+  	}
+	if (empty($show))
+		return $output;
+	else
+		echo $output;
+		
+}
 	
 function xpress_list_pings($trackback, $args, $depth) {
@@ -199,4 +213,10 @@
 }
 
+function xpress_is_multi_user(){
+	global $xpress_config;
+	return $xpress_config->is_multi_user;
+}
+
+
 function xpress_substr($str, $start, $length, $trimmarker = '...')
 {
@@ -352,4 +372,6 @@
 function xpress_conditional_title($display = true)
 {
+	$selected_author = xpress_selected_author(false);
+	
 	$output = __('Main', 'xpressme');
 	if (is_category())
@@ -363,8 +385,13 @@
 	if (is_year())
 		$output = sprintf(__('Archive for %s|Yearly archive page', 'xpressme'), get_the_time(__('Y', 'xpressme')));
-	if (is_author())
-		$output = sprintf(__('Archive for the &#8216;%s&#8217; Author', 'xpressme'), get_author_name( get_query_var('author')));
+	if (is_author()){
+		if (empty($selected_author))
+			$output = sprintf(__('Archive for the &#8216;%s&#8217; Author', 'xpressme'), get_author_name( get_query_var('author')));
+	}
 	if (is_search())
 		$output = sprintf(__('Search Results of word &#8216;%s&#8217;', 'xpressme'), get_search_query());
+	
+	if (!empty($selected_author))
+	$output = sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output;
 		
 	if ($display) 
