function showForm($p_target)
 {
     global $LANG, $DB, $LINK_ID_TABLE;
     $tableSelect = '';
     if (isset($_SESSION["glpi_plugin_fusioninventory_lockable_table"])) {
         $tableId = $_SESSION["glpi_plugin_fusioninventory_lockable_table"];
         if (isset($LINK_ID_TABLE[$tableId])) {
             $tableSelect = $LINK_ID_TABLE[$tableId];
         }
     }
     echo "<form method='post' name='setLockable_form' id='setLockable_form'\n                  action='" . $p_target . "'>";
     echo "<table class='tab_cadre_fixe' cellpadding='2'>";
     echo "<tr>";
     echo "<th colspan='4'>" . $LANG['plugin_fusioninventory']["functionalities"][70] . "</th>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td>" . $LANG['plugin_fusioninventory']["functionalities"][72] . " :</td>";
     echo "<td>" . $LANG['plugin_fusioninventory']["functionalities"][71] . " :</td>";
     echo "<td></td><td>" . $LANG['plugin_fusioninventory']['functionalities'][7] . "</td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     include GLPI_ROOT . "/plugins/fusioninventory/inc_constants/snmp.mapping.constant.php";
     $options = "";
     $query = "SHOW TABLES;";
     $elements = array(0 => '-----');
     if ($result = $DB->query($query)) {
         while ($data = $DB->fetch_array($result)) {
             $elements[$data[0]] = $data[0];
         }
     }
     $idSelect = 'dropdown_tableSelect' . Dropdown::showFromArray('tableSelect', $elements, array('value' => $tableSelect));
     $elements = array();
     echo "</td><td class='right'>";
     echo "<span id='columnsSelect'>&nbsp;";
     if ($tableSelect != '') {
         PluginFusioninventoryLockable::getColumnSelect($tableSelect);
     }
     echo "</span>\n";
     $params = array('tableSelect' => '__VALUE__');
     ajaxUpdateItemOnSelectEvent($idSelect, 'columnsSelect', GLPI_ROOT . "/plugins/fusioninventory/ajax/lockable.columns.php", $params);
     ajaxUpdateItemOnSelectEvent($idSelect, 'columnsLockable', GLPI_ROOT . "/plugins/fusioninventory/ajax/lockable.lockables.php", $params);
     echo "</td><td class='center'>";
     if (PluginFusioninventory::haveRight("configuration", "w")) {
         echo "<input type='submit'  class=\"submit\" name='plugin_fusioninventory_lockable_add' value='" . $LANG["buttons"][8] . " >>'>";
         echo "<br /><br />";
         echo "<input type='submit'  class=\"submit\" name='plugin_fusioninventory_lockable_delete' value='<< " . $LANG["buttons"][6] . "'>";
     }
     echo "</td><td class='left'>";
     echo "<span id='columnsLockable'>&nbsp;";
     if ($tableSelect != '') {
         PluginFusioninventoryLockable::getLockableSelect($tableSelect);
     }
     echo "</span>\n";
     echo "</table></form>";
 }
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file: MAZZONI Vincent
// Purpose of file:
// ----------------------------------------------------------------------
// Direct access to file
if (strstr($_SERVER['PHP_SELF'], "lockable.lockables.php")) {
    define('GLPI_ROOT', '../../..');
    include GLPI_ROOT . "/inc/includes.php";
    header("Content-Type: text/html; charset=UTF-8");
    header_nocache();
}
if (!defined('GLPI_ROOT')) {
    die("Can not acces directly to this file");
}
if (isset($_POST["tableSelect"])) {
    PluginFusioninventoryLockable::getLockableSelect($_POST["tableSelect"]);
}