Beispiel #1
0
function rulesdatas()
{
    //$main=new main_header_check();
    //$fields=Field_array_Hash($main->array_headers_values,'fields_headers',$rule["fields_headers"]);
    $html = "\n\t<input type='hidden' id='blockip_msg' value='{blockip_msg}'>\n\t<hr><H6>{blockips}</H6>\n\t<p class=caption>{blockip_text}</p>\n\t\t<div id='blockips'>" . postfix_check_client_access() . "</div>\n<hr><H6>{postfix_regex}</H6>\n\t<p class=caption>{postfix_regex_text}</p>\t\n\t\t<div id='postfix_regex'>" . postfix_regex() . "</div>\n\t";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
}
Beispiel #2
0
function rulesdatas()
{
    $new_regex = Paragraphe('acl-add-64.png', '{ADD_FILTER_EXPRESSION}', '{ADD_FILTER_EXPRESSION_TEXT}', "javascript:edit_postfix_regex_rule()");
    $page = CurrentPageName();
    $hostname = $_GET["hostname"];
    $ou = $_GET["ou"];
    $html = "\n\t<table style='width:100%'>\n\t<tr>\n\t<td valign='top'>\n\t\t<div class=explain>{postfix_regex_text}</div>\t\n\t\t<div id='postfix_regex'>" . postfix_regex() . "</div>\n\t</td>\n\t<td valign='top' width=1%>{$new_regex}</td>\n\t</tr>\n\t</table>\t\n\t";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
}