\n";
if ($wp_link){
$output .= '
WordPress';
}
if ($xoops_link){
$output .= 'XOOPS cube';
}
if ($post_rss){
$output .= ''. __('Posts RSS', 'xpress') .'';
}
if ($comment_rss){
$output .= ''. __('Comments RSS', 'xpress') .'';
}
if (is_user_logged_in()) {
global $current_user;
$Now_user_level = $current_user->user_level;
if ($post_new){
if($Now_user_level > 0){
if (xpress_is_wp_version('<','2.1') ){
$output .=
''.
''. __('Add New', 'xpress') .''.
'';
} else {
$output .=
''.
''. __('Add New', 'xpress') .''.
'';
}
}
}
if ($admin_edit){
if($Now_user_level > 7){
$output .=
''.
''. __('Site Admin', 'xpress') .''.
'';
}
}
$output .=
''.
''. __('User Profile', 'xpress') .''.
'';
if (defined('S2VERSION')){
if($Now_user_level > 7){
$output .=
''.
''. __('Subscription management', 'xpress') .''.
'';
} else {
$output .=
''.
''. __('Subscription management', 'xpress') .''.
'';
}
}
}
if ($readme){
$output .=''.'' . __('ReadMe', 'xpress') . ''.'';
}
$output .= disp_mode_set();
if (function_exists('wp_theme_switcher') ) {
ob_start();
echo '' . __('Themes') . ':';
wp_theme_switcher('dropdown');
echo '';
$output .= ob_get_contents();
ob_end_clean();
}
$output .= '';
$block['meta_info'] = $output;
return $block ;
}
?>