Example #1
0
        }
        ?>
								</td>
								<td style="text-align:left;padding:5px;font-size:13px;border-bottom:0px" class="directive_header_<?php 
        echo $directive_id;
        ?>
">
									<a href='javascript:;' class='directive_link' name='dir_head_<?php 
        echo $directive_id;
        ?>
'><?php 
        echo $directive_name;
        ?>
</a>
									<br/><font style="font-size:10px"><?php 
        echo $directive_editor->get_directive_intent($directive_id);
        ?>
</font>
								</td>
							</tr>
							<tr><td colspan="3" style="padding-left:40px;padding-right:0px;padding-top:0px;padding-bottom:3px" align="left"><div id="rules_<?php 
        echo $directive_id;
        ?>
"></div></td></tr>
							<?php 
        $found++;
    }
    ?>
							<?php 
    if ($category['xml_file'] == "user.xml") {
        ?>
Example #2
0
            params['edited']    = true; //This param is for the greybox in alarm detail

			parent.GB_hide(params);
		</script>
	<?php 
    } else {
        header("Location:wizard_rule.php?level=1&directive_id={$id}&id={$id}-1-0&engine_id={$engine_id}&xml_file={$file}&reloadindex=1&from_directive=1&directive_name={$name}&directive_prio={$prio}&directive_intent={$intent}&directive_strategy={$strategy}&directive_method={$method}");
    }
    exit;
}
$directive_editor = new Directive_editor($engine_id);
if ($directive_id != "") {
    $filepath = $directive_editor->engine_path . "/" . $file;
    $dom = $directive_editor->get_xml($filepath, "DOMXML");
    $directive = $directive_editor->getDirectiveFromXML($dom, $directive_id);
    list($directive_intent, $directive_strategy, $directive_method) = $directive_editor->get_directive_intent($directive_id, "array");
}
$intent_list = $directive_editor->get_intent_list();
$strategy_list = $directive_editor->get_strategy_list();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link type="text/css" rel="stylesheet" href="../style/av_common.css?t=<?php 
echo Util::get_css_id();
?>
" />
<style>
	
	/* Notification Styles */
	#av_msg_container