Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
glpi
Commits
81815ef6
Commit
81815ef6
authored
Jul 31, 2009
by
remi
Browse files
[0.71] fix netplug visibility in network report (by yllen) (ok c'est du luxe)
parent
c544f3f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
front/report.location.list.php
View file @
81815ef6
...
...
@@ -81,8 +81,7 @@ if (isset($_POST["location"])&&$_POST["location"]){
$mac2
=
""
;
$portordi
=
""
;
if
(
$end1
){
$np
->
getFromDB
(
$end1
);
if
(
$end1
&&
$np
->
getFromDB
(
$end1
)){
$np
->
getDeviceData
(
$np
->
fields
[
"on_device"
],
$np
->
fields
[
"device_type"
]);
$ordi
=
$np
->
device_name
;
$ip2
=
$np
->
fields
[
'ifaddr'
];
...
...
front/report.networking.php
View file @
81815ef6
...
...
@@ -81,7 +81,7 @@ if (countElementsInTableForMyEntities("glpi_dropdown_netpoint")>0){
echo
"<table class='tab_cadre' width='500'>"
;
echo
"<tr class='tab_bg_1'><td>"
.
$LANG
[
"reports"
][
42
]
.
"</td>"
;
echo
"<td>"
;
dropdownNetpoint
(
"prise"
,
0
,
0
,
1
,
$_SESSION
[
"glpiactive_entity"
]);
dropdownNetpoint
(
"prise"
,
0
,
-
1
,
1
,
$_SESSION
[
"glpiactive_entity"
]);
echo
"</td><td align='center' width='120'>"
;
echo
"<input type='submit' value='"
.
$LANG
[
"reports"
][
15
]
.
"' class='submit'>"
;
echo
"</td></tr>"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment