* @version $Id$ * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ $noplugin = true; // flag for ../config/define.php file include_once ('../config/define.php'); include_once ('../admin/mysql.inc.php'); include_once ('../project/mysql.inc.php'); include_once ('../class/class.project_task.php'); include_once ('../languages/' . U_L . '/lang_project.' . CHARSET . '.php'); include_once ('../languages/' . U_L . '/lang_common.' . CHARSET . '.php'); include_once (override('../project/common.php')); include_once ("../lib/input_helpers.php"); securityCheck(); $pid = $_REQUEST['pid']; // always passed ! $todo = $_REQUEST['todo']; // always passed ! ////////// Check Droits utilisateur //////////// if (! $l21auth->isProjectManager($l21auth->GetSessionElement('id'), $sql_object, $pid) && ! $l21auth->isSuperAdmin()) ReloadIndex('admin'); ////////// // print_r($_POST); $returnValues = false; $cssfiles = array('css/KNACSS/css/knacss.css', 'css/admin_common.css', 'css/layout.css', 'css/admin_project.css', 'css/light-ui.css'); $otask = new projectTask(); $a = array(); // array to store post values $integrity = true; //a task has been submited, we check validty // only for 'edit' and 'add' actions if(isset($_POST['valider'])) { $a['status'] = $_POST['task-status']; $a['label'] = $_POST['task-label']; $a['reminder_freq_hidden'] = $_POST['task-reminder-f-hidden']; // because not sent when