diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-23 22:40:50 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-23 22:40:50 +0000 |
commit | e57757c5e43b2317c727534fa3cf7f7a1057ddaa (patch) | |
tree | 5fd377abd8010651d15ff2788ace83bdca4ab0d2 | |
parent | 52893419f20976a47685752c0c25f0e1040edeaf (diff) | |
download | pfsense-e57757c5e43b2317c727534fa3cf7f7a1057ddaa.zip pfsense-e57757c5e43b2317c727534fa3cf7f7a1057ddaa.tar.gz |
Don't offer to restore all packages if none are installed.
-rwxr-xr-x | usr/local/www/diag_backup.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 3325ef4..2ca43c6 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -233,9 +233,10 @@ $dir = ini_get('upload_progress_meter.file.filename_template'); The firewall will reboot after restoring the configuration.<br> </td> </tr> + <?php if($config['installedpackages']['package'] != "") { ?> <tr> - <td colspan="2"> </td> - </tr> + <td colspan="2" class="list" height="12"></td> + </tr> <tr> <td colspan="2" class="listtopic">Reinstall packages</td> </tr> @@ -246,6 +247,7 @@ $dir = ini_get('upload_progress_meter.file.filename_template'); <br> <input name="Submit" type="submit" class="formbtn" id="reinstallpackages" value="Reinstall packages"></td> </tr> + <?php } ?> </table> </td> </tr> |