Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit e4f15a8

Browse files
committed
header + remove unsued files
1 parent 7ef49e1 commit e4f15a8

21 files changed

Lines changed: 576 additions & 659 deletions

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,3 @@ Documentation
3030

3131
Actuellement disponible dans le dossier *docs* du plugin téléchargé.
3232

33-
34-
*Serveur MantisBT de test*
35-
36-
* [http://demo.teclib.net/mantis/](http://demo.teclib.net/mantis/)
37-
38-
* WS : [http://demo.teclib.net/mantis/api/soap/mantisconnect.php?wsdl](http://demo.teclib.net/mantis/api/soap/mantisconnect.php?wsdl)
39-
40-
* Utilisateur Reporter : *test-glpi* / *test-glpi*

ajax/ajax.php

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,36 @@
11
<?php
2-
32
/*
4-
* ------------------------------------------------------------------------
5-
* GLPI Plugin MantisBT
6-
* Copyright (C) 2014 by the GLPI Plugin MantisBT Development Team.
7-
*
8-
* https://forge.indepnet.net/projects/mantis
9-
* ------------------------------------------------------------------------
10-
*
11-
* LICENSE
12-
*
13-
* This file is part of GLPI Plugin MantisBT project.
14-
*
15-
* GLPI Plugin MantisBT is free software; you can redistribute it and/or modify
16-
* it under the terms of the GNU General Public License as published by
17-
* the Free Software Foundation; either version 3 of the License, or
18-
* (at your option) any later version.
19-
*
20-
* GLPI Plugin MantisBT is distributed in the hope that it will be useful,
21-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23-
* GNU General Public License for more details.
24-
*
25-
* You should have received a copy of the GNU General Public License
26-
* along with GLPI Plugin MantisBT. If not, see <http://www.gnu.org/licenses/>.
27-
*
28-
* ------------------------------------------------------------------------
29-
*
30-
* @package GLPI Plugin MantisBT
31-
* @author Stanislas Kita (teclib')
32-
* @co-author François Legastelois (teclib')
33-
* @co-author Le Conseil d'Etat
34-
* @copyright Copyright (c) 2014 GLPI Plugin MantisBT Development team
35-
* @license GPLv3 or (at your option) any later version
36-
* http://www.gnu.org/licenses/gpl.html
37-
* @link https://forge.indepnet.net/projects/mantis
38-
* @since 2014
39-
*
40-
* ------------------------------------------------------------------------
3+
* @version $Id$
4+
-------------------------------------------------------------------------
5+
GLPI - Gestionnaire Libre de Parc Informatique
6+
Copyright (C) 2015-2016 Teclib'.
7+
8+
http://glpi-project.org
9+
10+
based on GLPI - Gestionnaire Libre de Parc Informatique
11+
Copyright (C) 2003-2014 by the INDEPNET Development Team.
12+
13+
-------------------------------------------------------------------------
14+
15+
LICENSE
16+
17+
This file is part of GLPI.
18+
19+
GLPI is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
24+
GLPI is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
29+
You should have received a copy of the GNU General Public License
30+
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
31+
--------------------------------------------------------------------------
4132
*/
33+
4234
include ('../../../inc/includes.php');
4335

4436
if (isset($_POST['action'])) {

front/config.form.php

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,36 @@
11
<?php
2-
32
/*
4-
* ------------------------------------------------------------------------
5-
* GLPI Plugin MantisBT
6-
* Copyright (C) 2014 by the GLPI Plugin MantisBT Development Team.
7-
*
8-
* https://forge.indepnet.net/projects/mantis
9-
* ------------------------------------------------------------------------
10-
*
11-
* LICENSE
12-
*
13-
* This file is part of GLPI Plugin MantisBT project.
14-
*
15-
* GLPI Plugin MantisBT is free software; you can redistribute it and/or modify
16-
* it under the terms of the GNU General Public License as published by
17-
* the Free Software Foundation; either version 3 of the License, or
18-
* (at your option) any later version.
19-
*
20-
* GLPI Plugin MantisBT is distributed in the hope that it will be useful,
21-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23-
* GNU General Public License for more details.
24-
*
25-
* You should have received a copy of the GNU General Public License
26-
* along with GLPI Plugin MantisBT. If not, see <http://www.gnu.org/licenses/>.
27-
*
28-
* ------------------------------------------------------------------------
29-
*
30-
* @package GLPI Plugin MantisBT
31-
* @author Stanislas Kita (teclib')
32-
* @co-author François Legastelois (teclib')
33-
* @co-author Le Conseil d'Etat
34-
* @copyright Copyright (c) 2014 GLPI Plugin MantisBT Development team
35-
* @license GPLv3 or (at your option) any later version
36-
* http://www.gnu.org/licenses/gpl.html
37-
* @link https://forge.indepnet.net/projects/mantis
38-
* @since 2014
39-
*
40-
* ------------------------------------------------------------------------
3+
* @version $Id$
4+
-------------------------------------------------------------------------
5+
GLPI - Gestionnaire Libre de Parc Informatique
6+
Copyright (C) 2015-2016 Teclib'.
7+
8+
http://glpi-project.org
9+
10+
based on GLPI - Gestionnaire Libre de Parc Informatique
11+
Copyright (C) 2003-2014 by the INDEPNET Development Team.
12+
13+
-------------------------------------------------------------------------
14+
15+
LICENSE
16+
17+
This file is part of GLPI.
18+
19+
GLPI is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
24+
GLPI is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
29+
You should have received a copy of the GNU General Public License
30+
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
31+
--------------------------------------------------------------------------
4132
*/
33+
4234
include ('../../../inc/includes.php');
4335

4436
Session::haveRight("config", UPDATE);

front/mantis.form.php

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,36 @@
11
<?php
2-
32
/*
4-
* ------------------------------------------------------------------------
5-
* GLPI Plugin MantisBT
6-
* Copyright (C) 2014 by the GLPI Plugin MantisBT Development Team.
7-
*
8-
* https://forge.indepnet.net/projects/mantis
9-
* ------------------------------------------------------------------------
10-
*
11-
* LICENSE
12-
*
13-
* This file is part of GLPI Plugin MantisBT project.
14-
*
15-
* GLPI Plugin MantisBT is free software; you can redistribute it and/or modify
16-
* it under the terms of the GNU General Public License as published by
17-
* the Free Software Foundation; either version 3 of the License, or
18-
* (at your option) any later version.
19-
*
20-
* GLPI Plugin MantisBT is distributed in the hope that it will be useful,
21-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23-
* GNU General Public License for more details.
24-
*
25-
* You should have received a copy of the GNU General Public License
26-
* along with GLPI Plugin MantisBT. If not, see <http://www.gnu.org/licenses/>.
27-
*
28-
* ------------------------------------------------------------------------
29-
*
30-
* @package GLPI Plugin MantisBT
31-
* @author Stanislas Kita (teclib')
32-
* @co-author François Legastelois (teclib')
33-
* @co-author Le Conseil d'Etat
34-
* @copyright Copyright (c) 2014 GLPI Plugin MantisBT Development team
35-
* @license GPLv3 or (at your option) any later version
36-
* http://www.gnu.org/licenses/gpl.html
37-
* @link https://forge.indepnet.net/projects/mantis
38-
* @since 2014
39-
*
40-
* ------------------------------------------------------------------------
3+
* @version $Id$
4+
-------------------------------------------------------------------------
5+
GLPI - Gestionnaire Libre de Parc Informatique
6+
Copyright (C) 2015-2016 Teclib'.
7+
8+
http://glpi-project.org
9+
10+
based on GLPI - Gestionnaire Libre de Parc Informatique
11+
Copyright (C) 2003-2014 by the INDEPNET Development Team.
12+
13+
-------------------------------------------------------------------------
14+
15+
LICENSE
16+
17+
This file is part of GLPI.
18+
19+
GLPI is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
24+
GLPI is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
29+
You should have received a copy of the GNU General Public License
30+
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
31+
--------------------------------------------------------------------------
4132
*/
33+
4234
include ('../../../inc/includes.php');
4335

4436
$mantis = new PluginMantisMantis();

front/profile.form.php

Lines changed: 0 additions & 51 deletions
This file was deleted.

front/userpref.form.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
11
<?php
2+
/*
3+
* @version $Id$
4+
-------------------------------------------------------------------------
5+
GLPI - Gestionnaire Libre de Parc Informatique
6+
Copyright (C) 2015-2016 Teclib'.
7+
8+
http://glpi-project.org
9+
10+
based on GLPI - Gestionnaire Libre de Parc Informatique
11+
Copyright (C) 2003-2014 by the INDEPNET Development Team.
12+
13+
-------------------------------------------------------------------------
14+
15+
LICENSE
16+
17+
This file is part of GLPI.
18+
19+
GLPI is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
24+
GLPI is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
29+
You should have received a copy of the GNU General Public License
30+
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
31+
--------------------------------------------------------------------------
32+
*/
33+
234
include ('../../../inc/includes.php');
335

36+
Session::checkRight('plugin_mantis_use', UPDATE);
37+
438
if (isset($_POST['update'])) {
539

640
if (isset($_POST['followFollow']))

0 commit comments

Comments
 (0)