function showForm($items_id, $options = array())
 {
     if ($items_id == '-1') {
         $items_id = '';
     }
     $this->initForm($items_id, $options);
     $this->showFormHeader($options);
     echo "<tr class='tab_bg_1'>";
     echo "<td>" . __('Name') . " :</td>";
     echo "<td>";
     echo "<input type='text' name='name' value='" . $this->fields["name"] . "' size='30'/>";
     echo "</td>";
     echo "<td>" . __('Check definition', 'monitoring') . "&nbsp;:</td>";
     echo "<td>";
     Dropdown::show("PluginMonitoringCheck", array('name' => 'plugin_monitoring_checks_id', 'value' => $this->fields['plugin_monitoring_checks_id']));
     echo "</td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td>" . _n('Comment', 'Comments', 2) . "&nbsp;: </td>";
     echo "<td>";
     echo "<textarea cols='45' rows='2' name='comment'>" . $this->fields["comment"] . "</textarea>";
     echo "</td>";
     echo "<td>" . __('Check period', 'monitoring') . "&nbsp;:</td>";
     echo "<td>";
     dropdown::show("Calendar", array('name' => 'calendars_id', 'value' => $this->fields['calendars_id']));
     echo "</td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td colspan='2'></td>";
     echo "<td>" . __('Interval between 2 notifications', 'monitoring') . "&nbsp;:</td>";
     echo "<td>";
     Dropdown::showNumber('notification_interval', array('value' => $this->fields['notification_interval'], 'min' => 0, 'max' => 2880, 'unit' => 'minute(s)'));
     echo "</td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td colspan='2'></td>";
     echo "<td>" . __('Business priority level', 'monitoring') . "&nbsp;:</td>";
     echo "<td>";
     Dropdown::showNumber('business_priority', array('value' => $this->fields['business_priority'], 'min' => 1, 'max' => 5));
     echo "</td>";
     echo "</tr>";
     echo "<tr class='tab_bg_1'>";
     echo "<td colspan='2'></td>";
     echo "<td>" . __('Services catalog template ?', 'monitoring') . "&nbsp;:</td>";
     echo "<td>";
     if (PluginMonitoringServicescatalog::canUpdate()) {
         Dropdown::showYesNo('is_generic', $this->fields['is_generic']);
     } else {
         echo Dropdown::getYesNo($this->fields['is_generic']);
     }
     echo "</td>";
     echo "</tr>";
     $this->showFormButtons($options);
     return true;
 }