Cosmetic changes, some PHP8.x warning fixes

This commit is contained in:
JRGTH
2022-08-28 06:22:37 -04:00
parent b519448846
commit a3829b1d3f
5 changed files with 5 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.1.17......Cosmetic changes, some PHP8.x warning fixes.
1.1.16......Add help support section for useful commands.
1.1.15......Add required files from FreeBSD 13.1 base release, update config.
1.1.14......Automatically deal with spaces on the fstab utility.

View File

@@ -80,6 +80,7 @@ function htmlButton($name, $text, $value="", $title="", $confirm="", $buttonImag
}
function parseConfigFile($configFile) {
global $section;
$fileArray = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); // load config file content to array
$configArray = array();
foreach($fileArray as $line) { // create array from config

View File

@@ -224,6 +224,7 @@ $document->render();
?>
<form action="bastille_manager_gui.php" method="post" name="iform" id="iform"><table id="area_data"><tbody><tr><td id="area_data_frame">
<?php
global $sphere_notifier;
if(!empty($errormsg)):
print_error_box($errormsg);
endif;

View File

@@ -345,7 +345,7 @@ $(document).ready(function(){
</tr>
<?php
if(!initial_install_banner()):
html_checkbox2('zfs_activate',gtext('ZFS support activation'),'' ? true : false,gtext('Check this to activate ZFS support or leave unchecked to dismiss (requires ZFS support to be available), this is a one time option and this row will disappear after clicking Save button.'),'',false);
html_checkbox2('zfs_activate',gtext('ZFS support activation'),'' ? true : false,gtext('Check this to activate ZFS support or leave unchecked to dismiss (requires ZFS support to be available/enabled), this is a one time option and this row will disappear after clicking Save button or page refresh.'),'',false);
endif;
?>
<?php html_filechooser("backup_path", gtext("Backup directory"), $backup_path, gtext("Directory to store containers backup archives, use as file chooser for restoring from file, importable formats: .GZ/TGZ/TXZ/XZ or RAW(no extension on the file name)."), $backup_path, true, 60);?>

View File

@@ -1 +1 @@
1.1.16
1.1.17