Esempio n. 1
0
function quarantine_index()
{
    $tooltip = ParseTooltip("{quarantine_reports}");
    $users = new usersMenus();
    $html = "\n<input type='hidden' name='ou' id='ou' value='{$_GET["popup"]}'>\n<div style='text-align:right;width:100%;padding-left'>\n<div style='\n\twidth:690px;height:30px;background-repeat:no-repeat;\n\ttext-align:left;padding-left:40px;\n\tpadding-top:5px;float:right;'>\n\t<input type='hidden' id='recipient' value=''>\n\t<span style='font-size:13px;font-weight:bolder'>{options}</span>&nbsp;|&nbsp;\n\t<span style='font-size:13px;font-weight:bolder'>{search}:</span>&nbsp;\n\t<input type='text' id='query' name='query' style='width:480px;font-size:13px;text-align:left;background:transparent;font-weight:bolder;border:1px solid #CCCCCC' onkeypress=\"javascript:QfindPress(event)\">\n</div>\n</div>\n<div id='quarantine_ou_results' style='width:100%'></div>\n\t\t\n\t\t";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
}
Esempio n. 2
0
function Field_deny_skip_checkbox_img($name, $value, $tooltip = null)
{
    $value = strtolower($value);
    if ($tooltip == null) {
        $tooltip = '{click_deny_skip}';
    }
    $tooltip = ParseTooltip($tooltip);
    if ($value == null) {
        $value = "no";
    }
    if ($tooltip != null) {
        $tooltip = "onMouseOver=\"javascript:AffBulle('{$tooltip}');lightup(this, 100);\" OnMouseOut=\"javascript:HideBulle();lightup(this, 50);\" style=\"filter:alpha(opacity=50);-moz-opacity:0.5;border:0px;\"";
    }
    if ($value == 'skip') {
        $img = 'img/status_ok.gif';
    } else {
        $img = 'img/status_critical.gif';
    }
    $html = "\n\t<input type='hidden' name='{$name}' id='{$name}' value='{$value}'><a href=\"javascript:SwitchDenySkip('{$name}');\"><img src='{$img}' id='img_{$name}' {$tooltip}></a>";
    return $html;
}
Esempio n. 3
0
function quarantine_index()
{
    $tooltip = ParseTooltip("{quarantine_reports}");
    $users = new usersMenus();
    $html = "\n<input type='hidden' name='ou' id='ou' value='{$_GET["popup"]}'>\n<input type='hidden' id='recipient' value=''>\n<center><table style='width:80%' class=form>\n<tr>\n<td class=legend>{options}&nbsp;|&nbsp;|</td>\n<td class=legend>{search}:</td>\n<td><input type='text' id='query' name='query' style='width:480px;font-size:13px;text-align:left;background:transparent;font-weight:bolder;border:1px solid #CCCCCC' onkeypress=\"javascript:QfindPress(event)\"></td>\n</tr>\n</table>\n</center>\n<div id='quarantine_ou_results' style='width:100%'></div>\n\t\t\n\t\t";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
}