vogelor
2008-12-02 fb4c27e329659f7ebfb72855297549ac01a54f02
interface/web/monitor/show_sys_state.php
@@ -385,7 +385,20 @@
        /* this type has no state */
    }
    if ($type == 'log_freshclam'){
        /* this type has no state */
        switch ($record['state']) {
            case 'ok':
                $messages['ok'][] = 'Your Virus-protection is ok ' .
                                    "<a href='#' onclick='loadContent(\"monitor/show_log.php?log=log_freshclam\");'>[more...]</a>";
                break;
            case 'warning':
                $messages['warning'][] = 'Your Virus-protection is OUTDATED! ' .
                                    "<a href='#' onclick='loadContent(\"monitor/show_log.php?log=log_freshclam\");'>[more...]</a>";
                break;
            default:
                $messages['unknown'][] = 'Freshclam: ???! ' .
                                    "<a href='#' onclick='loadContent(\"monitor/show_log.php?log=log_freshclam\");'>[more...]</a>";
                break;
        }
    }
    if ($type == 'log_ispconfig'){
        /* this type has no state */
@@ -402,6 +415,9 @@
    if ($type == 'log_messages'){
        /* this type has no state */
    }
    if ($type == 'rkhunter'){
        /* this type has no state */
    }
}
 /*