$commentfollow) { $commentsfollows[$key] = $commentfollow + qa_page_q_post_rules($commentfollow, $answer, $commentsfollows, null); } $usershtml = qa_userids_handles_html(array_merge(array($answer), $commentsfollows), true); qa_sort_by($commentsfollows, 'created'); $a_view = qa_page_q_answer_view($question, $answer, ($answer['postid'] == $question['selchildid'] && $answer['type'] == 'A'), $usershtml, false); $a_view['c_list'] = qa_page_q_comment_follow_list($question, $answer, $commentsfollows, false, $usershtml, false, null); $themeclass = qa_load_theme_class(qa_get_site_theme(), 'ajax-answer', null, null); $themeclass->initialize(); // ... send back the HTML for it echo "\n"; $themeclass->a_list_item($a_view); } return; } } echo "QA_AJAX_RESPONSE\n0\n"; // fall back to non-Ajax submission if something failed