From 2a15dcb1daa5e3149c8ae3886a23694d5be6d65e Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 24 Jan 2014 09:50:20 -0500 Subject: [PATCH] Fix Nanogong recorder not viewable under Linux - refs #6941 --- main/document/record_audio.php | 4 ++-- main/document/show_content.php | 4 ++-- main/document/showinframes.php | 4 ++-- main/document/showinframesmin.php | 2 +- main/inc/lib/nanogong.lib.php | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/main/document/record_audio.php b/main/document/record_audio.php index 5140ee061d..1b87d9b429 100644 --- a/main/document/record_audio.php +++ b/main/document/record_audio.php @@ -182,7 +182,7 @@ function submitVoice() { echo '
'; Display::display_icon('microphone.png', get_lang('PressRecordButton'),'','128'); echo '
'; -echo ''; +echo ''; //echo ''; // default true // echo ''; //you can save in local computer | (default true) //echo ''; // default true @@ -204,4 +204,4 @@ echo '
'; echo '
'; echo ''; -Display :: display_footer(); \ No newline at end of file +Display :: display_footer(); diff --git a/main/document/show_content.php b/main/document/show_content.php index 7397947d17..ac4a211c88 100644 --- a/main/document/show_content.php +++ b/main/document/show_content.php @@ -96,7 +96,7 @@ $pathinfo = pathinfo($header_file); if ($pathinfo['extension']=='wav' && preg_match('/_chnano_.wav/i', $file_url_web) && api_get_setting('enable_nanogong') == 'true'){ echo '
'; echo '
'; - echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -106,4 +106,4 @@ if ($pathinfo['extension']=='wav' && preg_match('/_chnano_.wav/i', $file_url_web } else { if ($pathinfo['extension']=='swf') { $width='83%'; $height='83%';} else {$width='100%'; $height='100%';} echo ''; -} \ No newline at end of file +} diff --git a/main/document/showinframes.php b/main/document/showinframes.php index 3ba01784d6..427a1c1ab3 100644 --- a/main/document/showinframes.php +++ b/main/document/showinframes.php @@ -409,7 +409,7 @@ if ($is_nanogong_available) { echo '
'; echo '
'; - echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -424,4 +424,4 @@ if ($is_nanogong_available) { if ($execute_iframe) { echo ''; } -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/document/showinframesmin.php b/main/document/showinframesmin.php index 10ab53e24e..2c9c7a4ad4 100644 --- a/main/document/showinframesmin.php +++ b/main/document/showinframesmin.php @@ -149,7 +149,7 @@ $pathinfo = pathinfo($header_file); if ($pathinfo['extension']=='wav' && preg_match('/_chnano_.wav/i', $file_url_web) && api_get_setting('enable_nanogong') == 'true'){ echo '
'; echo '
'; - echo ''; + echo ''; echo ''; echo ''; echo ''; diff --git a/main/inc/lib/nanogong.lib.php b/main/inc/lib/nanogong.lib.php index e4ee3446e0..3ad1d213b1 100644 --- a/main/inc/lib/nanogong.lib.php +++ b/main/inc/lib/nanogong.lib.php @@ -331,7 +331,7 @@ class Nanogong { $html .= '
'; $html .= '
'.$actions.'
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; // default true $html .= ''; //you can save in local computer | (default true) @@ -547,7 +547,7 @@ class Nanogong { $html .= '
'; - $html .= ''; + $html .= ''; //echo ''; // default true // echo ''; //you can save in local computer | (default true) //echo ''; // default true