diff --git a/main/css/public_admin/scorm.css b/main/css/public_admin/scorm.css
index 8097419d02..1db98e0af4 100644
--- a/main/css/public_admin/scorm.css
+++ b/main/css/public_admin/scorm.css
@@ -96,9 +96,9 @@
.inner_lp_toc .scorm_title
{
font-weight: bold;
- background:#305582;
- font-size: 12px;
- color: #fff;
+ background:#ccc;
+ font-size: 14px;
+ color: #444;
}
.inner_lp_toc .scorm_title_text
@@ -134,7 +134,7 @@
}
/*.scormpage .menu */
.lp_navigation_elem .progresstext{
- margin-top: -15px;
+ margin-top: -20px;
margin-left: 5em;
font-size: normal;
}
@@ -180,7 +180,7 @@
#preview_image
{
- padding-left: 17px;
+ text-align:center;
}
#msg_div_id{
diff --git a/main/newscorm/display_audiorecorder.php b/main/newscorm/display_audiorecorder.php
index fdad706257..aefb7b0b22 100644
--- a/main/newscorm/display_audiorecorder.php
+++ b/main/newscorm/display_audiorecorder.php
@@ -31,38 +31,17 @@ $lp_theme_css=$_SESSION['oLP']->get_theme();
$scorm_css_header=true;
include_once('../inc/reduced_header.inc.php');
-
echo '
';
-$html='';
-
-if ($_GET['show_audio'])
-{
- echo ''."\n";
- if ($_SESSION['oLP']->get_preview_image()!='')
- echo '
!['.$_SESSION['oLP']->get_author().'](.api_get_path(WEB_COURSE_PATH).api_get_course_path().)
get_preview_image().'>';
- else
- echo Display::display_icon('unknown.jpg',$_SESSION['oLP']->get_author());
- echo '
';
- echo ' ';
- $audio_recorder_studentview = 'true';
- $audio_recorder_item_id = $_SESSION['oLP']->current;
- if(api_get_setting('service_visio','active')=='true'){
- include('audiorecorder.inc.php');
- }
- echo '
';
- // end of audiorecorder include
-}
-else
-{
- echo ''."\n";
- if ($_SESSION['oLP']->get_preview_image()!='')
- echo '
!['.$_SESSION['oLP']->get_author().'](.api_get_path(WEB_COURSE_PATH).api_get_course_path().)
get_preview_image().'>';
- else
- echo Display::display_icon('unknown.jpg',$_SESSION['oLP']->get_author());
- echo '
';
-}
+ echo ' ';
+ $audio_recorder_studentview = 'true';
+ $audio_recorder_item_id = $_SESSION['oLP']->current;
+ if(api_get_setting('service_visio','active')=='true'){
+ include('audiorecorder.inc.php');
+ }
+ echo '
';
+ // end of audiorecorder include
echo '';
?>
\ No newline at end of file
diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php
index ee6748c24f..47292d541b 100644
--- a/main/newscorm/learnpath.class.php
+++ b/main/newscorm/learnpath.class.php
@@ -1912,9 +1912,10 @@ class learnpath {
* @param string Mode in which we want the values
* @param integer Progress value to display (optional but mandatory if used in abstract context)
* @param string Text to display near the progress value (optional but mandatory in abstract context)
+ * @param boolean true if it comes from a Diplay LP view
* @return string HTML string containing the progress bar
*/
- function get_progress_bar($mode='',$percentage=-1,$text_add='')
+ function get_progress_bar($mode='',$percentage=-1,$text_add='',$from_lp=false)
{
global $lp_theme_css;
@@ -1937,7 +1938,10 @@ class learnpath {
//Default progress bar config
$factor=1.5;
- $progress_height='16';
+ if ($from_lp)
+ $progress_height='25';
+ else
+ $progress_height='16';
$size = str_replace('%','',$percentage);
$output = ''
diff --git a/main/newscorm/lp_author_image.php b/main/newscorm/lp_author_image.php
new file mode 100644
index 0000000000..18240c887d
--- /dev/null
+++ b/main/newscorm/lp_author_image.php
@@ -0,0 +1,44 @@
+encoding;
+$lp_theme_css=$_SESSION['oLP']->get_theme();
+
+*/
+$scorm_css_header=true;
+include_once('../inc/reduced_header.inc.php');
+
+echo '
+ ';
+echo '';
+if ($_SESSION['oLP']->get_preview_image()!='')
+ echo '
!['.$_SESSION['oLP']->get_author().']('.api_get_path(WEB_COURSE_PATH).api_get_course_path().'/upload/learning_path/images/'.$_SESSION['oLP']->get_preview_image().')
';
+else
+ echo Display::display_icon('unknown.jpg',$_SESSION['oLP']->get_author());
+echo '
';
+
+?>
+
+
\ No newline at end of file
diff --git a/main/newscorm/lp_header.php b/main/newscorm/lp_header.php
index 894319b201..50f9a3f720 100644
--- a/main/newscorm/lp_header.php
+++ b/main/newscorm/lp_header.php
@@ -59,9 +59,9 @@ $interbreadcrumb[] = array("url"=>"./lp_controller.php?action=view&lp_id=".$path
$noPHP_SELF = true;
$lp_theme_css=$_SESSION['oLP']->get_theme();
include('../inc/reduced_header.inc.php');
-echo '';
?>