From: wbudic Date: Fri, 19 Oct 2018 06:27:43 +0000 (+1100) Subject: Fixed html errors. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=2920af3e48edf01d9abc18c090336beb88937ebc;p=LifeLog.git Fixed html errors. --- diff --git a/htdocs/cgi-bin/stats.cgi b/htdocs/cgi-bin/stats.cgi index a798c9e..f80d104 100755 --- a/htdocs/cgi-bin/stats.cgi +++ b/htdocs/cgi-bin/stats.cgi @@ -67,7 +67,7 @@ my $sum = sprintf("%.2f",$row[0]); $sth->finish; my $hardware_status =`inxi -b -c0`; -$hardware_status =~ s/\n/<\/br>/g; +$hardware_status =~ s/\n//g; $tbl = $tbl . 'Number of Records:'. $log_rc.' @@ -78,10 +78,10 @@ $hardware_status =~ s/\n/<\/br>/g; '.$database.''. (uc format_bytes($stat[7], bs => 1000)).' -'; +'; print '
' . $tbl .'
'; -print '

Server Info

' . $hardware_status .'
'; +print '

Server Info

' . $hardware_status .'
'; print $q->end_html; $sth->finish;