/web/acc/admin/bl_categories_help.php |
---|
36,6 → 36,7 |
$l_explain_gambling="Sites de jeux d'argent en ligne (casino, grattage virtuel, etc.)"; |
$l_explain_games="Sites de jeux en ligne"; |
$l_explain_hacking="Sites relatifs au piratage informatique"; |
$l_explain_ip="Sites appelés par une addresse IP plutôt que par un nom de domaine"; |
$l_explain_jobsearch="Sites de recherche d'emplois"; |
$l_explain_liste_bu="Liste de sites éducatifs pour bibliothèque"; |
$l_explain_malware="Site relatifs au logiciels malveillants (virus, vers, trojans, etc.)"; |
89,6 → 90,7 |
$l_explain_gambling="Online gambling sites (casino, virtual scratching, etc.)"; |
$l_explain_games="Online games sites"; |
$l_explain_hacking="Sites related to hacking"; |
$l_explain_ip="Sites specified by an IP address instead of a domain name"; |
$l_explain_jobsearch="Job search sites"; |
$l_explain_liste_bu="List of educational sites for library"; |
$l_explain_malware="Malware sites (viruses, worms, trojans, etc.)."; |
/web/acc/phpsysinfo/includes/xml/portail.php |
---|
29,7 → 29,7 |
$host = "localhost"; |
$DB_USER = "radius"; |
$DB_RADIUS = "radius"; |
$radiuspwd = "X01WDItQ"; |
$radiuspwd = "JbzwD8FP"; |
// Connexion au serveur |
mysql_connect($host, $DB_USER,$radiuspwd) or die("erreur de connexion au serveur"); |
mysql_select_db($DB_RADIUS) or die("erreur de connexion a la base de donnees"); |
75,7 → 75,6 |
fclose($sock); |
return true; |
} |
} |
// Fonction de test du filtrage |
function filtrageTest($file, $search_regex){ |
132,6 → 131,10 |
} |
$_text = "<table border=\"0\" width=\"100%\" align=\"center\">\n" |
. " <tr>\n" |
. " <td valign=\"top\"><font size=\"-1\">" . $text['internet_link'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $internet_status . "</font></td>\n" |
. " </tr>\n" |
. " <tr>\n" |
. " <td valign=\"top\"><font size=\"-1\">" . $text['portail-version'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $INSTALLEDVERSION . "</font></td>\n" |
. " </tr>\n" |
159,10 → 162,6 |
. " <td valign=\"top\"><font size=\"-1\">" . $text['bl-version'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $VERSIONBL . "</font></td>\n" |
. " </tr>\n" |
. " <tr>\n" |
. " <td valign=\"top\"><font size=\"-1\">" . $text['internet_link'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $internet_status . "</font></td>\n" |
. " </tr>\n" |
. "</table>\n"; |
return $_text; |
} |
/web/acc/phpsysinfo/includes/xml/vitals.php |
---|
62,7 → 62,7 |
$scale_factor = 2; |
$strLoadbar = ""; |
$uptime = ""; |
$cert_ca_expiration_date = exec ("sudo /usr/bin/openssl x509 -noout -in /etc/pki/tls/certs/alcasar.crt -dates|grep After|cut -d\"=\" -f2"); |
if( $XPath->match( "/phpsysinfo/Vitals/CPULoad" ) ) |
$strLoadbar = "<br>" . create_bargraph( $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ), 100, $scale_factor ) . " " . $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ) . "%"; |
71,6 → 71,10 |
. " <td valign=\"top\"><font size=\"-1\">" . $text['hostname'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/Hostname" ) . "</font></td>\n" |
. " </tr>\n" |
. " <tr>\n" |
. " <td valign=\"top\"><font size=\"-1\">" . $text['cert_expiration_date'] . "</font></td>\n" |
. " <td><font size=\"-1\">" . $cert_ca_expiration_date . "</font></td>\n" |
. " </tr>\n" |
// . " <tr>\n" |
// . " <td valign=\"top\"><font size=\"-1\">" . $text['ip'] . "</font></td>\n" |
// . " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/IPAddr" ) . "</font></td>\n" |
/web/acc/phpsysinfo/includes/lang/fr.php |
---|
54,6 → 54,7 |
$text['disable'] = "inactif"; |
$text['web_filter'] = "Filtrage WEB"; |
$text['net_filter'] = "Filtrage protocoles réseau"; |
$text['cert_expiration_date'] = "Date d'expiration du certificat"; |
// |
$text['netusage'] = 'Réseau'; |
/web/acc/phpsysinfo/includes/lang/en.php |
---|
54,6 → 54,7 |
$text['disable'] = "disable"; |
$text['web_filter'] = "WEB filtering"; |
$text['net_filter'] = "Network protocols filtering"; |
$text['cert_expiration_date'] = "Certificate expiration date"; |
// |
$text['netusage'] = 'Network Usage'; |