id > 0 && $user_id !== $GLOBALS['user']->id) { $GLOBALS['user']->toggle_follow($user_id); $results['button_follow_' . $user_id] = $fuser->get_display_follow(); } } break; default: $results['rfc3514'] = '0x1'; break; } // switch on action; // We always do this echo xoutput_from_array($results);