[svn r12183] Moved kevin_lp_add to lp_add and kevin_lp_add_item to lp_add_item

skala
Yannick Warnier 19 years ago
parent d8f0a8c0df
commit e880e40b12
  1. 0
      main/newscorm/lp_add.php
  2. 0
      main/newscorm/lp_add_item.php
  3. 10
      main/newscorm/lp_controller.php

@ -169,7 +169,7 @@ switch($_REQUEST['action'])
{ {
if(isset($_SESSION['post_time']) && $_SESSION['post_time'] == $_POST['post_time']) if(isset($_SESSION['post_time']) && $_SESSION['post_time'] == $_POST['post_time'])
{ {
require('kevin_lp_add_item.php'); require('lp_add_item.php');
} }
else else
{ {
@ -193,12 +193,12 @@ switch($_REQUEST['action'])
$new_item_id = $_SESSION['oLP']->add_item($_POST['parent'], $_POST['previous'], $_POST['type'], $_POST['path'], $_POST['title'], $_POST['description'], $_POST['prerequisites']); $new_item_id = $_SESSION['oLP']->add_item($_POST['parent'], $_POST['previous'], $_POST['type'], $_POST['path'], $_POST['title'], $_POST['description'], $_POST['prerequisites']);
} }
require('kevin_lp_add_item.php'); require('lp_add_item.php');
} }
} }
else else
{ {
require('kevin_lp_add_item.php'); require('lp_add_item.php');
} }
} }
@ -216,7 +216,7 @@ switch($_REQUEST['action'])
if(isset($_SESSION['post_time']) && $_SESSION['post_time'] == $_REQUEST['post_time']) if(isset($_SESSION['post_time']) && $_SESSION['post_time'] == $_REQUEST['post_time'])
{ {
require('kevin_lp_add.php'); require('lp_add.php');
} }
else else
{ {
@ -239,7 +239,7 @@ switch($_REQUEST['action'])
} }
} }
else else
require('kevin_lp_add.php'); require('lp_add.php');
break; break;

Loading…
Cancel
Save