Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php	(revision 272)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php	(revision 273)
@@ -1,3 +1,42 @@
 <?php
+function xpress_is_contributor()
+{
+	global $current_user;
+	get_currentuserinfo();
+	if ($current_user->user_level > 3)
+		return true;
+	else
+		return false;
+}
+
+function xpress_is_wpmu() {
+	global $xoops_config;
+	
+	return $xoops_config->is_wpmu;
+}
+
+function xpress_is_wp20() {
+	global $xoops_config;
+	
+	return $xoops_config->is_wp20;
+}
+
+function xpress_is_theme_sidebar_disp(){
+	global $xpress_config;
+	if (is_wordpress_style()) return true;
+	return $xpress_config->is_theme_sidebar_disp;
+}	
+
+function xpress_is_author_view_count(){
+	global $xpress_config;
+	return $xpress_config->is_author_view_count;
+}
+
+function xpress_is_multi_user(){
+	global $xpress_config;
+	return $xpress_config->is_multi_user;
+}
+
+
 function xpress_the_title($args = '')
 {
@@ -48,16 +87,4 @@
 }
 
-function xpress_is_wpmu() {
-	global $xoops_config;
-	
-	return $xoops_config->is_wpmu;
-}
-
-function xpress_is_wp20() {
-	global $xoops_config;
-	
-	return $xoops_config->is_wp20;
-}
-
 function xpress_selected_author($args ='' ) {
 	$defaults = array(
@@ -116,6 +143,4 @@
 		return $output;
 }
-
-
 	
 function xpress_credit($args ='')
@@ -167,10 +192,4 @@
 		return $output;
 }
-
-function xpress_is_theme_sidebar_disp(){
-	global $xpress_config;
-	if (is_wordpress_style()) return true;
-	return $xpress_config->is_theme_sidebar_disp;
-}	
 
 function xpress_left_arrow_post_link($args ='')
@@ -374,16 +393,4 @@
 }
 
-
-function xpress_is_author_view_count(){
-	global $xpress_config;
-	return $xpress_config->is_author_view_count;
-}
-
-function xpress_is_multi_user(){
-	global $xpress_config;
-	return $xpress_config->is_multi_user;
-}
-
-
 function xpress_substr($str, $start, $length, $trimmarker = '...')
 {
@@ -460,5 +467,4 @@
 	}
 
-
 	$views_db = get_wp_prefix() . 'views';
 
@@ -532,14 +538,4 @@
 }
 
-function xpress_is_contributor()
-{
-	global $current_user;
-	get_currentuserinfo();
-	if ($current_user->user_level > 3)
-		return true;
-	else
-		return false;
-}
-
 function xpress_post_new_link($args ='')
 {
@@ -612,4 +608,5 @@
 }
 
+// The content of the trackback/pingback to the post is returned by the list. 
 function xpress_pings_list($args =''){
 	$defaults = array(
@@ -643,4 +640,5 @@
 }
 
+// The amount of the trackback/pingback to the post is returned.
 function xpress_pings_number( $args ='' ) {
 	$defaults = array(
@@ -674,5 +672,5 @@
 }
 
-
+// xpress_get_pings() is a subfunction used with xpress_pings_number() and xpress_pings_list(). 
 function xpress_get_pings()
 {
