Browse Source

[svn r10316] audiorecorder : decrease the size of the flash

Eric Marguin 18 years ago
parent
commit
edc0e9b3a2
3 changed files with 5 additions and 5 deletions
  1. 1 1
      main/newscorm/audiorecorder.inc.php
  2. 1 1
      main/newscorm/lp_header.php
  3. 3 3
      main/newscorm/lp_list.php

+ 1 - 1
main/newscorm/audiorecorder.inc.php

@@ -11,7 +11,7 @@
 
 $params = "?lzt=swf&lzr=swf8&document_id=".$audio_recorder_item_id."&dbName=".$_SESSION["_course"]["dbName"]."&user_id=".$_SESSION["_user"]["user_id"].'?studentview='.$audio_recorder_studentview ;     
 
-list($width, $height) = $audio_recorder_studentview ? array(220, 67) : array(220,185);
+list($width, $height) = $audio_recorder_studentview ? array(220, 67) : array(220,140);
 
 $path_to_lzx = api_get_setting('service_ppt2lp','path_to_lzx');
 

+ 1 - 1
main/newscorm/lp_header.php

@@ -22,7 +22,7 @@ $header_hide_main_div = true;
 $interbreadcrumb[]= array ("url"=>"./lp_controller.php?action=list", "name"=> get_lang('Doc'));
 //$interbreadcrumb[]= array ("url"=>"./lp_controller.php?action=view&lp_id=".$_SESSION['oLP']->get_id(), "name"=> $nameTools);
 $noPHP_SELF = true;
-Display::display_header($nameTools,"Path");
+Display::display_header($nameTools,"Path", null);
 ?>
 </div>
 </body>

+ 3 - 3
main/newscorm/lp_list.php

@@ -263,11 +263,11 @@ if (is_array($flat_list))
 			/* Default view mode settings (fullscreen/embedded) */
 			if($details['lp_view_mode'] == 'fullscreen'){
 				$dsp_default_view = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_view_mode&lp_id='.$id.'">' .
-						'<img src="../img/view_fullscreen.gif" border="0" alt="View mode: embedded" title="Make mode embedded"/>' .
+						'<img src="../img/view_fullscreen.gif" border="0" alt="'.get_lang("ViewModeEmbedded").'" title="'.get_lang("ViewModeEmbedded").'"/>' .
 						'</a>&nbsp;';
 			}else{
 				$dsp_default_view = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_view_mode&lp_id='.$id.'">' .
-						'<img src="../img/view_choose.gif" border="0" alt="View mode: fullscreen" title="Make mode fullscreen"/>' .
+						'<img src="../img/view_choose.gif" border="0" alt="'.get_lang("ViewModeFullScreen").'" title="'.get_lang("ViewModeFullScreen").'"/>' .
 						'</a>&nbsp;';
 			}
 			/* Increase SCORM recording */
@@ -290,7 +290,7 @@ if (is_array($flat_list))
 						'</a>&nbsp;';
 			}
 			if($details['lp_type']==1){
-				$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&amp;action=build&amp;lp_id='.$id.'"><img src="../img/wizard.gif" border="0" title="Build"></a>&nbsp;';
+				$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&amp;action=build&amp;lp_id='.$id.'"><img src="../img/wizard.gif" border="0" title="'.get_lang("Build").'"></a>&nbsp;';
 			}else{
 				$dsp_build = '<img src="../img/wizard_gray.gif" border="0" title="Build">&nbsp;';
 			}