Plugins
LAST
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
rapport_avance
ajax_modify_rapav_description.php
Go to the documentation of this file.
1
<?php
2
/*
3
* This file is part of NOALYSS.
4
*
5
* NOALYSS is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* NOALYSS is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with NOALYSS; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
// Copyright 2015 Author Dany De Bontridder danydb@aevalys.eu
21
22
// require_once '.php';
23
if
( ! defined (
'ALLOWED'
) ) die(
'Appel direct ne sont pas permis'
);
24
25
global
$cn
;
26
27
$id
=HtmlInput::default_value_get(
'd_id'
, 0);
28
if
(
$id
== 0 )
return
;
29
30
$comment
=HtmlInput::default_value_get(
'comment'
, NULL);
31
$comment
=strip_tags(
$comment
);
32
33
require_once
'include/class_rapport_avance_sql.php'
;
34
35
$list
=
new
RAPAV_Declaration_SQL
(
$id
);
36
37
$list
->d_description=
$comment
;
38
39
$list
->update();
RAPAV_Declaration_SQL
Definition:
class_rapport_avance_sql.php:165
$list
$list
Definition:
ajax_modify_rapav_description.php:35
$id
$id
Definition:
ajax_modify_rapav_description.php:27
$cn
global $cn
Definition:
ajax_modify_rapav_description.php:25
$comment
$comment
Definition:
ajax_modify_rapav_description.php:30
Generated on Wed Feb 1 2017 23:19:24 for Plugins by
1.8.6