aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php12
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.xml7
2 files changed, 14 insertions, 5 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 5cd34dbb..2574941a 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -126,7 +126,10 @@ include("head.inc");
<td width="30%" class="listhdrr">Date</td>
<td width="70%" class="listhdrr">Configuration Change</td>
</tr>
-<?php foreach($confvers as $cv): ?>
+<?php
+ $counter = 0;
+ foreach($confvers as $cv):
+?>
<tr valign="top">
<td class="listlr"> <?= date("n/j/y H:i:s", $cv[2]); ?></td>
<td class="listlr"> <?= $cv[1]; ?></td>
@@ -147,7 +150,12 @@ include("head.inc");
-->
</td>
</tr>
-<?php endforeach; ?>
+<?php
+ $counter++;
+ endforeach;
+ if($counter == 0)
+ echo "<tr><td colspan='3'><center>Sorry, we could not locate any backups at portal.pfsense.org for this hostname.</td></tr>";
+?>
</table>
</div>
</td>
diff --git a/packages/autoconfigbackup/autoconfigbackup.xml b/packages/autoconfigbackup/autoconfigbackup.xml
index f4c165e3..1d270085 100644
--- a/packages/autoconfigbackup/autoconfigbackup.xml
+++ b/packages/autoconfigbackup/autoconfigbackup.xml
@@ -78,13 +78,13 @@
<field>
<fielddescr>Subscription Username</fielddescr>
<fieldname>username</fieldname>
- <description>Enter the username for the Automatic Configuration Backup Web GUI. Minimum 6 characters.</description>
- <type>intput</type>
+ <description>Enter the subscription username for portal.pfsense.org</description>
+ <type>input</type>
</field>
<field>
<fielddescr>Subscription Password</fielddescr>
<fieldname>password</fieldname>
- <description>Enter the password for the Automatic Configuration Backup Web GUI. Minimum 6 characters.</description>
+ <description>Enter the password for portal.pfsense.org</description>
<type>password</type>
</field>
<field>
@@ -94,6 +94,7 @@
</field>
<field>
<fielddescr>Encryption Password</fielddescr>
+ <description>This password will be used to encrypt config.xml before sending to portal.pfsense.org. Do not share the password and keep it safe!</description>
<fieldname>crypto_password</fieldname>
<type>password</type>
</field>