Example #1
0
*   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">
Example #2
0
			</table>
		</td>
	</tr>
</table>
</div>

<div id="wizard_3" style="display:none">
<input type="hidden" name="plugin_sid" id="plugin_sid" onchange="onChangePluginSid()" value="<?php 
echo $rule->plugin_sid != "" && $rule->plugin_sid != "ANY" ? "LIST" : "ANY";
?>
">
<input type="hidden" name="plugin_sid_list" id="plugin_sid_list" value="<?php 
echo $rule->plugin_sid != "" ? $rule->plugin_sid : "ANY";
?>
" onchange="onChangePluginSidList()" <?php 
echo disableIf(!isList($rule->plugin_sid));
?>
/>
<table class="transparent" width="500">
		<!-- ##### plugin sid ##### -->
	<tr>
		<th style="white-space: nowrap; padding: 5px;font-size:12px">
			<?php 
echo gettext("Plugin Signatures");
?>
		</th>
	</tr>
	<tr>
		<td class="nobborder">
			<table class="transparent">
				<tr>