* along with this package; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * MA 02110-1301 USA * * * On Debian GNU/Linux systems, the complete text of the GNU General * Public License can be found in `/usr/share/common-licenses/GPL-2'. * * Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt ****************************************************************************/ /** * Class and Function List: * Function list: * Classes list: */ $disabled = disableIf(getPluginType($rule->plugin_id) != "monitor"); /* default values for "value" */ $value_list = array(10, 15, 20, 30, 50, 100, 200, 300, 400, 500); if ($rule->value != 'Default' && !in_array(intval($rule->value), $value_list)) { $value_list[] = intval($rule->value); sort($value_list); } /* default values for "monitor" */ $interval_list = array(10, 15, 20, 30, 50, 100, 200, 300, 400, 500); if ($rule->value != 'Default' && !in_array(intval($rule->interval), $interval_list)) { $interval_list[] = intval($rule->interval); sort($interval_list); } ?> <!-- #################### monitor ##################### --> <div id="wizard_10" style="display:none">
?> " /> <input type="hidden" name="level" value="<?php echo $level; ?> " /> <input type="hidden" name="id" value="<?php echo $id; ?> " /> <input type="hidden" name="xml_file" value="<?php echo $xml_file; ?> " /> <input type="hidden" name="type" id="type" value="<?php echo getPluginType($rule->plugin_id); ?> " /> <?php if (!$add) { ?> <input type="button" style="width: <?php echo $rule->plugin_id ? "80" : "130"; ?> px; cursor:pointer;" value="<?php echo $rule->plugin_id ? _("Cancel") : gettext('Back to directives'); ?> " onclick="onClickCancel(<?php echo $directive . ',' . $new_level; ?> )"/><?php