From e08a9c88a4f85a4bb60da7417eeb1b8ef43fdddf Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 30 Apr 2007 06:00:57 +0200 Subject: [PATCH] [svn r12184] Moved remaining kevin_* scripts to lp_* scripts --- ...in_lp_admin_view.php => lp_admin_view.php} | 0 .../{kevin_lp_build.php => lp_build.php} | 0 main/newscorm/lp_controller.php | 28 +++++++++---------- ...evin_lp_edit_item.php => lp_edit_item.php} | 0 ...tem_prereq.php => lp_edit_item_prereq.php} | 0 ...evin_lp_move_item.php => lp_move_item.php} | 0 ...evin_lp_view_item.php => lp_view_item.php} | 0 7 files changed, 14 insertions(+), 14 deletions(-) rename main/newscorm/{kevin_lp_admin_view.php => lp_admin_view.php} (100%) rename main/newscorm/{kevin_lp_build.php => lp_build.php} (100%) rename main/newscorm/{kevin_lp_edit_item.php => lp_edit_item.php} (100%) rename main/newscorm/{kevin_lp_edit_item_prereq.php => lp_edit_item_prereq.php} (100%) rename main/newscorm/{kevin_lp_move_item.php => lp_move_item.php} (100%) rename main/newscorm/{kevin_lp_view_item.php => lp_view_item.php} (100%) diff --git a/main/newscorm/kevin_lp_admin_view.php b/main/newscorm/lp_admin_view.php similarity index 100% rename from main/newscorm/kevin_lp_admin_view.php rename to main/newscorm/lp_admin_view.php diff --git a/main/newscorm/kevin_lp_build.php b/main/newscorm/lp_build.php similarity index 100% rename from main/newscorm/kevin_lp_build.php rename to main/newscorm/lp_build.php diff --git a/main/newscorm/lp_controller.php b/main/newscorm/lp_controller.php index 9598bd0be7..98cb4faac1 100644 --- a/main/newscorm/lp_controller.php +++ b/main/newscorm/lp_controller.php @@ -234,7 +234,7 @@ switch($_REQUEST['action']) //$_SESSION['oLP']->add_item(0,-1,'dokeos_chapter',$_REQUEST['path'],'Default'); - require('kevin_lp_build.php'); + require('lp_build.php'); } } } @@ -251,7 +251,7 @@ switch($_REQUEST['action']) { $_SESSION['refresh'] = 1; - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } break; @@ -264,7 +264,7 @@ switch($_REQUEST['action']) { $_SESSION['refresh'] = 1; - require('kevin_lp_build.php'); + require('lp_build.php'); } break; @@ -287,11 +287,11 @@ switch($_REQUEST['action']) if(isset($_GET['view']) && $_GET['view'] == 'build') { - require('kevin_lp_build.php'); + require('lp_build.php'); } else { - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } } @@ -320,11 +320,11 @@ switch($_REQUEST['action']) if(isset($_GET['view']) && $_GET['view'] == 'build') { - require('kevin_lp_edit_item.php'); + require('lp_edit_item.php'); } else { - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } } @@ -344,7 +344,7 @@ switch($_REQUEST['action']) $_SESSION['oLP']->edit_item_prereq($_GET['id'], $_POST['prerequisites'], $_POST['min_' . $_POST['prerequisites']], $_POST['max_' . $_POST['prerequisites']]); } - require('kevin_lp_edit_item_prereq.php'); + require('lp_edit_item_prereq.php'); } break; @@ -367,13 +367,13 @@ switch($_REQUEST['action']) if(isset($_GET['view']) && $_GET['view'] == 'build') { - require('kevin_lp_move_item.php'); + require('lp_move_item.php'); } else { $_SESSION['oLP']->move_item($_GET['id'], $_GET['direction']); - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } } @@ -387,7 +387,7 @@ switch($_REQUEST['action']) { $_SESSION['refresh'] = 1; - require('kevin_lp_view_item.php'); + require('lp_view_item.php'); } break; @@ -459,7 +459,7 @@ switch($_REQUEST['action']) require('resourcelinker.php'); //$_SESSION['oLP']->add_sub_item($_REQUEST['parent_item_id'],$_REQUEST['previous'],$_REQUEST['type'],$_REQUEST['path'],$_REQUEST['title']); }else{ - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } } break; @@ -472,7 +472,7 @@ switch($_REQUEST['action']) if(!empty($_REQUEST['id'])){ $_SESSION['oLP']->delete_item($_REQUEST['id']); } - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } break; case 'edititemprereq': @@ -484,7 +484,7 @@ switch($_REQUEST['action']) $_SESSION['refresh'] = 1; $_SESSION['oLP']->edit_item_prereq($_REQUEST['id'],$_REQUEST['prereq']); } - require('kevin_lp_admin_view.php'); + require('lp_admin_view.php'); } break; case 'restart': diff --git a/main/newscorm/kevin_lp_edit_item.php b/main/newscorm/lp_edit_item.php similarity index 100% rename from main/newscorm/kevin_lp_edit_item.php rename to main/newscorm/lp_edit_item.php diff --git a/main/newscorm/kevin_lp_edit_item_prereq.php b/main/newscorm/lp_edit_item_prereq.php similarity index 100% rename from main/newscorm/kevin_lp_edit_item_prereq.php rename to main/newscorm/lp_edit_item_prereq.php diff --git a/main/newscorm/kevin_lp_move_item.php b/main/newscorm/lp_move_item.php similarity index 100% rename from main/newscorm/kevin_lp_move_item.php rename to main/newscorm/lp_move_item.php diff --git a/main/newscorm/kevin_lp_view_item.php b/main/newscorm/lp_view_item.php similarity index 100% rename from main/newscorm/kevin_lp_view_item.php rename to main/newscorm/lp_view_item.php