diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-08 03:41:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-08 03:41:31 +0000 |
commit | feeca391103df3509351124677535c034d64fa36 (patch) | |
tree | 2caf914b3b26bc211d4549d330090d9de85eadda /packages/autoconfigbackup | |
parent | 06b5adc773b524a3694e37612729a50f6fd7cf6e (diff) | |
download | pfsense-packages-feeca391103df3509351124677535c034d64fa36.tar.gz pfsense-packages-feeca391103df3509351124677535c034d64fa36.tar.bz2 pfsense-packages-feeca391103df3509351124677535c034d64fa36.zip |
Show total backups
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup_stats.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup_stats.php b/packages/autoconfigbackup/autoconfigbackup_stats.php index fcdb6140..e4f5b02e 100644 --- a/packages/autoconfigbackup/autoconfigbackup_stats.php +++ b/packages/autoconfigbackup/autoconfigbackup_stats.php @@ -166,7 +166,8 @@ include("head.inc"); $counter = 0; echo "<script type=\"text/javascript\">"; echo "$('loading').innerHTML = '';"; - echo "</script>"; + echo "</script>"; + $total_backups = 0; foreach($statvers as $cv): ?> <tr valign="top"> @@ -186,13 +187,20 @@ include("head.inc"); </td> </tr> <?php + $total_backups = $total_backups + $cv['hostnamecount']; $counter++; endforeach; if($counter == 0) echo "<tr><td colspan='3'><center>Sorry, we could not load the status information for the account ($username).</td></tr>"; ?> - - </div> + <tr> + <td align="right"> + Total + </td> + <td> + <?=$total_backups?> + </td> + </tr> </td> </tr> </table> |