Skip to content

Commit

Permalink
Use of Profile::dropdownNoneReadWrite() instead of dropdownNoneReadWr…
Browse files Browse the repository at this point in the history
…ite(). See release fusioninventory#47
  • Loading branch information
Vincent MAZZONI committed Apr 29, 2010
1 parent 23ccc50 commit a0ed123
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions inc/profile.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,17 @@ function showForm($target,$ID) {
echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][16]." :</td>";
echo "<td>";
dropdownNoneReadWrite("snmp_networking",$this->fields["snmp_networking"],1,1,1);
Profile::dropdownNoneReadWrite("snmp_networking",$this->fields["snmp_networking"],1,1,1);
echo "</td>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][23]." :</td>";
echo "<td>";
dropdownNoneReadWrite("configuration",$this->fields["configuration"],1,1,1);
Profile::dropdownNoneReadWrite("configuration",$this->fields["configuration"],1,1,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][18]." :</td><td>";
dropdownNoneReadWrite("snmp_printers",$this->fields["snmp_printers"],1,1,1);
Profile::dropdownNoneReadWrite("snmp_printers",$this->fields["snmp_printers"],1,1,1);
echo "</td>";
echo "<th colspan='2'>";
echo $LANG['plugin_fusioninventory']["profile"][34]." :";
Expand All @@ -146,63 +146,63 @@ function showForm($target,$ID) {
echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][19]." :</td>";
echo "<td>";
dropdownNoneReadWrite("snmp_models",$this->fields["snmp_models"],1,1,1);
Profile::dropdownNoneReadWrite("snmp_models",$this->fields["snmp_models"],1,1,1);
echo "</td>";

echo "<td>".$LANG['plugin_fusioninventory']["profile"][29]." :</td>";
echo "<td>";
dropdownNoneReadWrite("remotecontrol",$this->fields["remotecontrol"],1,0,1);
Profile::dropdownNoneReadWrite("remotecontrol",$this->fields["remotecontrol"],1,0,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][20]." :</td>";
echo "<td>";
dropdownNoneReadWrite("snmp_authentification",$this->fields["snmp_authentification"],1,1,1);
Profile::dropdownNoneReadWrite("snmp_authentification",$this->fields["snmp_authentification"],1,1,1);
echo "</td>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][31]." :</td>";
echo "<td>";
dropdownNoneReadWrite("deviceinventory",$this->fields["deviceinventory"],1,0,1);
Profile::dropdownNoneReadWrite("deviceinventory",$this->fields["deviceinventory"],1,0,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][25]." :</td>";
echo "<td>";
dropdownNoneReadWrite("rangeip",$this->fields["rangeip"],1,1,1);
Profile::dropdownNoneReadWrite("rangeip",$this->fields["rangeip"],1,1,1);
echo "</td>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][22]." :</td>";
echo "<td>";
dropdownNoneReadWrite("netdiscovery",$this->fields["netdiscovery"],1,0,1);
Profile::dropdownNoneReadWrite("netdiscovery",$this->fields["netdiscovery"],1,0,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][26]." :</td>";
echo "<td>";
dropdownNoneReadWrite("agents",$this->fields["agents"],1,1,1);
Profile::dropdownNoneReadWrite("agents",$this->fields["agents"],1,1,1);
echo "</td>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][32]." :</td>";
echo "<td>";
dropdownNoneReadWrite("snmp_query",$this->fields["snmp_query"],1,0,1);
Profile::dropdownNoneReadWrite("snmp_query",$this->fields["snmp_query"],1,0,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][27]." :</td>";
echo "<td>";
dropdownNoneReadWrite("agentsprocesses",$this->fields["agentsprocesses"],1,1,0);
Profile::dropdownNoneReadWrite("agentsprocesses",$this->fields["agentsprocesses"],1,1,0);
echo "</td>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][33]." :</td>";
echo "<td>";
dropdownNoneReadWrite("wol",$this->fields["wol"],1,0,1);
Profile::dropdownNoneReadWrite("wol",$this->fields["wol"],1,0,1);
echo "</td>";
echo "</tr>";

echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][30]." :</td>";
echo "<td>";
dropdownNoneReadWrite("unknowndevices",$this->fields["unknowndevices"],1,1,1);
Profile::dropdownNoneReadWrite("unknowndevices",$this->fields["unknowndevices"],1,1,1);
echo "</td>";
echo "<td colspan='2'>";
echo "</td>";
Expand All @@ -211,7 +211,7 @@ function showForm($target,$ID) {
echo "<tr class='tab_bg_1'>";
echo "<td>".$LANG['plugin_fusioninventory']["profile"][28]." :</td>";
echo "<td>";
dropdownNoneReadWrite("reports",$this->fields["reports"],1,1,0);
Profile::dropdownNoneReadWrite("reports",$this->fields["reports"],1,1,0);
echo "</td>";
echo "<td colspan='2'>";
echo "</td>";
Expand Down

0 comments on commit a0ed123

Please sign in to comment.