Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1743 → Rev 1478

/web/acc/phpsysinfo/includes/lang/en.php
19,8 → 19,6
//
// $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,8 → 19,6
//
// $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,7 → 63,6
$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" ) . "%";
74,10 → 73,6
. " <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"