Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1742 → Rev 1743

/web/acc/phpsysinfo/includes/lang/en.php
19,6 → 19,8
//
// $Id: en.php,v 1.21 2007/02/18 19:11:31 bigmichi1 Exp $
 
$text['domain'] = 'Domain name';
 
$text['title'] = 'System Information';
 
$text['vitals'] = 'System Vital';
/web/acc/phpsysinfo/includes/lang/fr.php
19,6 → 19,8
//
// $Id: fr.php,v 1.27 2007/03/15 08:22:31 bigmichi1 Exp $
 
$text['domain'] = 'Nom de domaine';
 
$text['title'] = 'Informations Système ';
 
$text['vitals'] = 'Système';
/web/acc/phpsysinfo/includes/xml/vitals.php
63,6 → 63,7
$strLoadbar = "";
$uptime = "";
$date = exec ("/bin/date");
$ndd = exec("/bin/openssl x509 -noout -subject -in /etc/pki/tls/certs/alcasar.crt | sed -n '/^subject/s/^.*CN=//p'");
$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 ) . "&nbsp;" . $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ) . "%";
73,6 → 74,10
. " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/Hostname" ) . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['domain'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $ndd . "</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"