mirror of https://github.com/mikaku/Monitorix.git
3.0: change the option name to 'graphs_per_row'
This commit is contained in:
parent
6d6fe1a139
commit
3f6f368abd
|
@ -355,11 +355,11 @@ sub proc_cgi {
|
|||
while($n < $ncpu) {
|
||||
if($title) {
|
||||
if($n == 0) {
|
||||
main::graph_header($title, $proc->{per_row});
|
||||
main::graph_header($title, $proc->{graphs_per_row});
|
||||
}
|
||||
print(" <tr>\n");
|
||||
}
|
||||
for($n2 = 0; $n2 < $proc->{per_row}; $n2++) {
|
||||
for($n2 = 0; $n2 < $proc->{graphs_per_row}; $n2++) {
|
||||
last unless $n < $ncpu;
|
||||
if($title) {
|
||||
print(" <td bgcolor='" . $colors->{title_bg_color} . "'>\n");
|
||||
|
|
Loading…
Reference in New Issue