diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 19:44:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 19:44:58 +0000 |
commit | 3f1d979f7056853758055f2eb66903ad9a4bb8e2 (patch) | |
tree | b17c2f35a3e87d4ef7397e76e8a4fb04466e97ee /packages | |
parent | 363fefeb229e35a5b0958907bf88f3a5c5a23176 (diff) | |
download | pfsense-packages-3f1d979f7056853758055f2eb66903ad9a4bb8e2.tar.gz pfsense-packages-3f1d979f7056853758055f2eb66903ad9a4bb8e2.tar.bz2 pfsense-packages-3f1d979f7056853758055f2eb66903ad9a4bb8e2.zip |
* Alert user when no backups are found
* Correct input type for username
* Cleanup descriptions
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 12 | ||||
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.xml | 7 |
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> |