aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_stats.php14
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>