function showForm($p_type = NULL)
 {
     global $CFG_GLPI;
     $pbBarcode = new PluginBarcodeBarcode();
     $defaultType = $this->getConfig();
     echo "<form name='form' method='post'\n                  action='" . $CFG_GLPI['root_doc'] . "/plugins/barcode/front/config.form.php'\n                   enctype='multipart/form-data'>";
     echo "<div align='center'>";
     echo "<table class='tab_cadre' width='550'>";
     echo "<tr><th colspan='4'>" . __('Barcode plugin configuration', 'barcode') . "</th></tr>";
     echo "</table><br>";
     echo "<table class='tab_cadre' width='550'>";
     echo "<tr class='tab_bg_1'>";
     echo "<th colspan='4'>" . __('General configuration', 'barcode') . "</th>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td>" . __('Type', 'barcode') . "</td>";
     echo "<td>";
     $this->showTypeSelect($defaultType);
     echo "</td>";
     echo "<td colspan='2'><input type='submit' value='" . __('Save') . "' class='submit'></td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td class='tab_bg_1' colspan='4' align='center'><input type='submit' value='" . __('Empty the cache', 'barcode') . "' class='submit' name='dropCache'></td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<th colspan='4'>" . __('Company logo', 'barcode') . "</th>";
     echo "</tr>";
     if (file_exists(GLPI_PLUGIN_DOC_DIR . '/barcode/logo.png')) {
         echo "<tr class='tab_bg_1'>";
         echo "<td colspan='4' align='center'>";
         echo "<img src='" . $CFG_GLPI['root_doc'] . "/plugins/barcode/front/document.send.php?file=barcode/logo.png'\n               width='300'/>";
         echo "</td>";
         echo "</tr>";
     }
     echo "<tr class='tab_bg_1'>";
     echo "<td colspan='2' align='center'><input type='file' name='logo' value='' /></td>";
     echo "<td colspan='2'><input type='submit' value='" . __('Save') . "' class='submit'></td>";
     echo "</tr>";
     echo "</table>";
     echo "</div>";
     Html::closeForm();
     $types = $pbBarcode->getCodeTypes();
     foreach ($types as $type) {
         echo '<br>';
         $this->showFormConfigType($type);
     }
 }