[svn r12719] add whereami for audiorecorder management

skala
Eric Marguin 18 years ago
parent 0eb66829d7
commit 70bb6e9448
  1. 2
      main/newscorm/lp_build.php
  2. 3
      main/newscorm/lp_view.php
  3. 6
      main/newscorm/lp_view_item.php

@ -40,8 +40,10 @@
INIT SECTION
==============================================================================
*/
$_SESSION['whereami'] = 'lp/build';
$this_section=SECTION_COURSES;
api_protect_course_script();
/*

@ -21,6 +21,9 @@
INIT SECTION
==============================================================================
*/
$_SESSION['whereami'] = 'lp/view';
if($lp_controller_touched!=1){
header('location: lp_controller.php?action=view&item_id='.$_REQUEST['item_id']);
}

@ -40,7 +40,11 @@
INIT SECTION
==============================================================================
*/
$_SESSION['whereami'] = 'lp/build';
if(isset($_SESSION['oLP']) && isset($_GET['id']))
{
$_SESSION['oLP'] -> current = intval($_GET['id']);
}
$this_section=SECTION_COURSES;
api_protect_course_script();

Loading…
Cancel
Save