diff --git a/license.txt b/license.txt
index 62c7169e2f..c77167be32 100755
--- a/license.txt
+++ b/license.txt
@@ -9,6 +9,7 @@ Copyright (c) 2003-2008 Vrije Universiteit Brussel (VUB)
Copyright (c) 2004-2008 Hoogeschool Gent (HoGent)
Copyright (c) Bart Mollet, Hogeschool Gent
Copyright (c) Facultad de Matematicas, UADY (México) (Message plugin)
+Copyright (c) Kristof Van Steenkiste & Sebastien Jacobs (Reservation plugin)
For a full list of contributors detaining copyrights over parts of
the Chamilo software, see "documentation/credits.html".
diff --git a/main/reservation/m_category.php b/main/reservation/m_category.php
index 1c69d863c3..2cf81236b4 100755
--- a/main/reservation/m_category.php
+++ b/main/reservation/m_category.php
@@ -1,39 +1,14 @@
'../admin/index.php', 'name' => get_lang('PlatformAdmin'));
-/**
- ---------------------------------------------------------------------
- */
-
/**
* Filter to display the modify-buttons
*
@@ -57,10 +28,6 @@ function modify_filter($id) {
return '
'.'
';
}
-/**
- ---------------------------------------------------------------------
- */
-
switch ($_GET['action']) {
case 'add' :
$interbreadcrumb[] = array ("url" => "m_category.php", "name" => $tool_name);
diff --git a/main/reservation/m_item.php b/main/reservation/m_item.php
index a13b1844a5..36c7a7ae46 100755
--- a/main/reservation/m_item.php
+++ b/main/reservation/m_item.php
@@ -1,42 +1,14 @@
"../admin/index.php", "name" => get_lang('PlatformAdmin'));
-/**
- ---------------------------------------------------------------------
- */
-
/**
* Filter to display the modify-buttons
*
@@ -73,10 +45,6 @@ function modify_rights_filter($id) {
return '
';
}
-/**
- ---------------------------------------------------------------------
- */
-
if (isset ($_POST['action'])) {
switch ($_POST['action']) {
case 'delete_items' :
diff --git a/main/reservation/m_item_origineel.php b/main/reservation/m_item_origineel.php
index 9d8fcac2cb..535f885da9 100755
--- a/main/reservation/m_item_origineel.php
+++ b/main/reservation/m_item_origineel.php
@@ -1,32 +1,7 @@
"../admin/index.php", "name" => get_lang('PlatformAdmin'));
-/**
- ---------------------------------------------------------------------
- */
-
/**
* Filter to display the modify-buttons
*
@@ -67,10 +38,6 @@ function modify_rights_filter($id) {
return '
';
}
-/**
- ---------------------------------------------------------------------
- */
-
if (isset ($_POST['action'])) {
switch ($_POST['action']) {
case 'delete_items' :
diff --git a/main/reservation/m_reservation.php b/main/reservation/m_reservation.php
index 9026d27513..2b2e44b69f 100755
--- a/main/reservation/m_reservation.php
+++ b/main/reservation/m_reservation.php
@@ -1,42 +1,14 @@
';
}
-/**
- ---------------------------------------------------------------------
- */
-
switch ($_GET['action']) {
case 'delete' :
Rsys :: delete_subscription($_GET['reservation_id'],$_GET['dummy']);
diff --git a/main/reservation/rcalendar.php b/main/reservation/rcalendar.php
old mode 100644
new mode 100755
index c443a32cee..d47d0e626d
--- a/main/reservation/rcalendar.php
+++ b/main/reservation/rcalendar.php
@@ -1,30 +1,7 @@
-
+}
\ No newline at end of file
diff --git a/main/reservation/reservation.php b/main/reservation/reservation.php
old mode 100644
new mode 100755
index bf1b3328b1..7b92c9c49b
--- a/main/reservation/reservation.php
+++ b/main/reservation/reservation.php
@@ -1,31 +1,8 @@
-
\ No newline at end of file
+require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';
\ No newline at end of file
diff --git a/main/reservation/subscribe.php b/main/reservation/subscribe.php
index 19b7d00c9d..e0a45fac39 100755
--- a/main/reservation/subscribe.php
+++ b/main/reservation/subscribe.php
@@ -1,38 +1,12 @@
\ No newline at end of file
+Display :: display_footer();
\ No newline at end of file