Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 842 → Rev 843

/web/acc/phpsysinfo/includes/xml/portail.php
111,9 → 111,9
if (filtrageTest("/usr/local/etc/alcasar.conf", "/^PROTOCOLS_FILTERING=on/")){
$network_filter_status = $text['enable'];}
else { $network_filter_status = $text['disable'];}
if (filtrageTest("/etc/dansguardian/dansguardian.conf","/^reportinglevel = 3/")){
$web_filter_status = $text['enable'];}
else { $web_filter_status = $text['disable'];}
if (filtrageTest("/usr/local/etc/alcasar.conf","/^DNS_FILTERING=on/")){
$domain_filter_status = $text['enable'];}
else { $domain_filter_status = $text['disable'];}
if (filtrageTest("/usr/local/etc/alcasar.conf","/^WEB_ANTIVIRUS=on/")){
$web_antivir_status = $text['enable'];}
else { $web_antivir_status = $text['disable'];}
151,10 → 151,14
. " <td><font size=\"-1\">" . $network_filter_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['web_filter'] . "</font></td>\n"
. " <td><font size=\"-1\">antivirus : " . $web_antivir_status . ", domain/url : " . $web_filter_status . "</font></td>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['web_antivirus'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $web_antivir_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['domain_filter'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $domain_filter_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['bl-version'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $VERSIONBL . "</font></td>\n"
. " </tr>\n"