From f89eee08a62c9a520a60754a0673f27cdf35de0e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 7 Dec 2008 07:35:13 +0000 Subject: Show number of backups for hostname --- packages/autoconfigbackup/autoconfigbackup.php | 66 +++++++++++++------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'packages/autoconfigbackup/autoconfigbackup.php') diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index 28ecbee5..1c3d4265 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -89,19 +89,19 @@ include("head.inc"); @@ -284,26 +282,28 @@ EOF; echo ""; foreach($confvers as $cv): ?> - - - - - + + + + + "; + else + echo ""; ?>
- +
@@ -239,7 +239,6 @@ EOF; require("fend.inc"); exit; } - // Populate available backups $curl_session = curl_init(); curl_setopt($curl_session, CURLOPT_URL, $get_url); @@ -257,7 +256,6 @@ EOF; } else { curl_close($curl_session); } - // Loop through and create new confvers $data_split = split("\n", $data); $confvers = array(); @@ -269,8 +267,8 @@ EOF; $tmp_array['time'] = $ds_split[2]; if($ds_split[2] && $ds_split[0]) $confvers[] = $tmp_array; - } - ?> + } + ?>
- - - - - - - - - -
+ + + + + + + + + +
Sorry, we could not locate any backups at portal.pfsense.org for this hostname ({$hostname}).

Backups hosted currently for this hostname on portalpfsense.org: {$counter}.
-- cgit v1.2.3