|
@@ -49,7 +49,7 @@ if (isset($_POST['load_ajax'])) {
|
|
|
$result = get_blog_post_from_user($course_db, $user_id);
|
|
|
if (!empty($result)) {
|
|
|
echo '<div class="clear"></div><br />';
|
|
|
- api_display_tool_title(get_lang('BlogPosts'));
|
|
|
+ api_display_tool_title(api_xml_http_response_encode(get_lang('BlogPosts')));
|
|
|
echo '<div class="social-background-content" style="background:#FAF9F6; padding:0px;">';
|
|
|
echo api_xml_http_response_encode($result);
|
|
|
echo '</div>';
|
|
@@ -60,7 +60,7 @@ if (isset($_POST['load_ajax'])) {
|
|
|
//------Blog comments
|
|
|
$result = get_blog_comment_from_user($course_db, $user_id);
|
|
|
if (!empty($result)) {
|
|
|
- api_display_tool_title(get_lang('BlogComments'));
|
|
|
+ api_display_tool_title(api_xml_http_response_encode(get_lang('BlogComments')));
|
|
|
echo '<div class="social-background-content" style="background:#FAF9F6; padding:0px;">';
|
|
|
echo api_xml_http_response_encode($result);
|
|
|
echo '</div>';
|
|
@@ -73,9 +73,9 @@ if (isset($_POST['load_ajax'])) {
|
|
|
|
|
|
} else {
|
|
|
echo '<div class="clear"></div><br />';
|
|
|
- api_display_tool_title(get_lang('Details'));
|
|
|
+ api_display_tool_title(api_xml_http_response_encode(get_lang('Details')));
|
|
|
echo '<div class="social-background-content" style="background:#FAF9F6; padding:0px;">';
|
|
|
- echo get_lang('UserNonRegisteredAtTheCourse');
|
|
|
+ echo api_xml_http_response_encode(get_lang('UserNonRegisteredAtTheCourse'));
|
|
|
echo '<div class="clear"></div><br />';
|
|
|
echo '</div>';
|
|
|
echo '<div class="clear"></div><br />';
|