[svn r17939] Changed size of learnpath frames to show audioplayer

skala
Yannick Warnier 16 years ago
parent a1bbc71f67
commit 6a3c264915
  1. 11
      main/newscorm/lp_view.php

@ -197,24 +197,15 @@ else
$res = api_sql_query($select);
if(Database::num_rows($res)>0)
{
$audio_record_width='85,';
$show_audioplayer=true;
}
else
$audio_record_width='';
}
else
$audio_record_width='';
?>
<frameset cols="270,*">
<frameset rows="60,240,<?php echo $audio_record_width; ?>70,30,500,20">
<frameset rows="60,270,105,30,480,20">
<frame id="header" src="lp_header.php" border="0" frameborder="0" scrolling="no"/>
<frame id="author_image" name="author_image" class="lp_author_image" src="lp_author_image.php" border="0" frameborder="0" scrolling="no" />
<?php
if($show_audioplayer) //if audio recorder is required (set a few lines above)
echo '<frame id="audiorecorder_id" name="audiorecorder_name" src="display_audiorecorder.php" border="0" frameborder="0" scrolling="no"/>';
?>
<frame id="nav_id" name="nav_name" class="lp_nav" src="lp_nav.php" border="0" frameborder="0" scrolling="no" />
<frame id="message_id" name="message_name" class="message" src="lp_message.php" border="0" frameborder="0" />
<frame id="toc_id" name="toc_name" class="lp_toc" src="lp_toc.php" border="0" frameborder="0" scrolling="no"/>

Loading…
Cancel
Save