Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-glpi-git / front / report.networking.php @ b67d8923

Historique | Voir | Annoter | Télécharger (2,96 ko)

1
<?php
2
/*
3
 * @version $Id: report.networking.php 7763 2009-01-06 18:44:50Z moyo $
4
 -------------------------------------------------------------------------
5
 GLPI - Gestionnaire Libre de Parc Informatique
6
 Copyright (C) 2003-2009 by the INDEPNET Development Team.
7

8
 http://indepnet.net/   http://glpi-project.org
9
 -------------------------------------------------------------------------
10

11
 LICENSE
12

13
 This file is part of GLPI.
14

15
 GLPI 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 2 of the License, or
18
 (at your option) any later version.
19

20
 GLPI 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; if not, write to the Free Software
27
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
 --------------------------------------------------------------------------
29
 */
30
/*!
31
  \brief affiche les diffents choix de rapports reseaux
32

33
 */
34

    
35

    
36
define('GLPI_ROOT', '..');
37
include (GLPI_ROOT . "/inc/includes.php");
38

    
39

    
40

    
41
checkRight("reports","r");
42

    
43
commonHeader($LANG["Menu"][6],$_SERVER['PHP_SELF'],"utils","report");
44

    
45
# Titre
46

    
47

    
48

    
49

    
50
echo "<table class='tab_cadre' >";
51
echo "<tr><th align='center' colspan='3' >".$LANG["reports"][33]."</th></tr>";
52
echo "</table><br>";
53
// 3. Selection d'affichage pour generer la liste
54

    
55
echo "<form name='form' method='post' action='report.location.list.php'>";
56
echo "<table class='tab_cadre'  width='500'>";
57
echo "<tr class='tab_bg_1'><td>".$LANG["reports"][39]."</td>";
58
echo "<td>";
59
dropdownValue("glpi_dropdown_locations","location",0,1,$_SESSION["glpiactive_entity"]);
60
echo "</td><td align='center' width='120'>";
61
echo "<input type='submit' value='".$LANG["reports"][15]."' class='submit'>";
62
echo "</td></tr>";
63
echo "</table>";
64
echo "</form>";
65

    
66

    
67
echo "<form name='form2' method='post' action='report.switch.list.php'>";
68
echo "<table class='tab_cadre' width='500'>";
69
echo "<tr class='tab_bg_1'><td>".$LANG["reports"][41]."</td>";
70
echo "<td>";
71
dropdownValue("glpi_networking", "switch");
72
echo "</td><td align='center' width='120'>";
73
echo "<input type='submit' value='".$LANG["reports"][15]."' class='submit'>";
74
echo "</td></tr>";
75
echo "</table>";
76
echo "</form>";
77

    
78

    
79
if (countElementsInTableForMyEntities("glpi_dropdown_netpoint")>0){
80
        echo "<form name='form3' method='post' action='report.netpoint.list.php'>";
81
        echo "<table class='tab_cadre'  width='500'>";
82
        echo "<tr class='tab_bg_1'><td>".$LANG["reports"][42]."</td>";
83
        echo "<td>";
84
        dropdownNetpoint("prise",0,0,1,$_SESSION["glpiactive_entity"]);        
85
        echo "</td><td align='center' width='120'>";
86
        echo "<input type='submit' value='".$LANG["reports"][15]."' class='submit'>";
87
        echo "</td></tr>";
88
        echo "</table>";
89
        echo "</form>";
90
}
91

    
92

    
93

    
94

    
95

    
96
commonFooter();
97

    
98
?>
Redmine Appliance - Powered by TurnKey Linux